From 67a951e25cd4079b9cd51d9f93d0426dddf7eac1 Mon Sep 17 00:00:00 2001 From: pascalholthaus <94793111+pascalholthaus@users.noreply.github.com> Date: Tue, 1 Oct 2024 03:26:05 +0200 Subject: [PATCH 1/2] Change: pass image url to compose update --- .github/workflows/helm-container-build-push-3rd-gen.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/helm-container-build-push-3rd-gen.yml b/.github/workflows/helm-container-build-push-3rd-gen.yml index 786dada..bef4a61 100644 --- a/.github/workflows/helm-container-build-push-3rd-gen.yml +++ b/.github/workflows/helm-container-build-push-3rd-gen.yml @@ -240,7 +240,7 @@ jobs: token: ${{ secrets.GREENBONE_BOT_TOKEN }} repository: "greenbone/automatix" workflow: "push.yml" - inputs: '{"service": "${{ inputs.helm-chart }}", "digest": "${{ needs.building-container.outputs.digest }}", "version": "${{ github.ref_name }}"}' + inputs: '{"service": "${{ inputs.helm-chart }}", "image-url": "${{ inputs.image-url }}", "digest": "${{ needs.building-container.outputs.digest }}", "version": "${{ github.ref_name }}"}' notify: needs: From a9f84ab60a64c9ee195c6d35f972621f77f440e8 Mon Sep 17 00:00:00 2001 From: pascalholthaus <94793111+pascalholthaus@users.noreply.github.com> Date: Tue, 1 Oct 2024 03:44:49 +0200 Subject: [PATCH 2/2] Add: missing IMAGE_REGISTRY --- .github/workflows/helm-container-build-push-3rd-gen.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/helm-container-build-push-3rd-gen.yml b/.github/workflows/helm-container-build-push-3rd-gen.yml index bef4a61..7c20ed1 100644 --- a/.github/workflows/helm-container-build-push-3rd-gen.yml +++ b/.github/workflows/helm-container-build-push-3rd-gen.yml @@ -240,7 +240,7 @@ jobs: token: ${{ secrets.GREENBONE_BOT_TOKEN }} repository: "greenbone/automatix" workflow: "push.yml" - inputs: '{"service": "${{ inputs.helm-chart }}", "image-url": "${{ inputs.image-url }}", "digest": "${{ needs.building-container.outputs.digest }}", "version": "${{ github.ref_name }}"}' + inputs: '{"service": "${{ inputs.helm-chart }}", "image-url": "${{ vars.IMAGE_REGISTRY }}/${{ inputs.image-url }}", "digest": "${{ needs.building-container.outputs.digest }}", "version": "${{ github.ref_name }}"}' notify: needs: