From 2105e3268a3c5421c1c9a21aeb37ffb80ae9602d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Trkan?= Date: Mon, 22 Sep 2025 18:57:16 +0200 Subject: [PATCH] feat(infrastructure): update --- .github/workflows/workflow.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index 991e372..7409fab 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -16,7 +16,7 @@ jobs: - name: Checkout repo uses: actions/checkout@v4 - - name: Login to registry + - name: Login to Docker Hub uses: docker/login-action@v3 with: username: ${{ secrets.DOCKER_USER }} @@ -31,7 +31,6 @@ jobs: tags: ${{ secrets.DOCKER_USER }}/cd-test:latest - name: Get image digest - # docker/build-push-action outputs `digest` automatically run: echo "IMAGE_DIGEST=${{ steps.build.outputs.digest }}" >> $GITHUB_ENV - name: Update manifest with new image digest @@ -39,9 +38,8 @@ jobs: with: valueFile: 'cd-test/guestbook-ui-deployment.yaml' propertyPath: 'spec.template.spec.containers[0].image' - # zapíšeme image s digestem value: ${{ secrets.DOCKER_USER }}/cd-test@${{ env.IMAGE_DIGEST }} commitChange: true message: "Update image to digest ${{ env.IMAGE_DIGEST }}" createPR: 'false' - + token: ${{ secrets.GITHUB_TOKEN }}