From 02d56b0a59129c8bf2e26b3fd81c2c2dd0a430d4 Mon Sep 17 00:00:00 2001 From: David Wertenteil Date: Wed, 14 Feb 2024 12:01:27 +0200 Subject: [PATCH] Fix set image_version Signed-off-by: David Wertenteil --- .github/workflows/incluster-comp-pr-created.yaml | 3 +++ .github/workflows/incluster-comp-pr-merged.yaml | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/incluster-comp-pr-created.yaml b/.github/workflows/incluster-comp-pr-created.yaml index 8119472..1e938a2 100644 --- a/.github/workflows/incluster-comp-pr-created.yaml +++ b/.github/workflows/incluster-comp-pr-created.yaml @@ -22,6 +22,9 @@ on: required: false type: string default: "./..." + GO111MODULE: + required: false + type: string UNIT_TESTS_PATH: required: false type: string diff --git a/.github/workflows/incluster-comp-pr-merged.yaml b/.github/workflows/incluster-comp-pr-merged.yaml index 091bf31..038445b 100644 --- a/.github/workflows/incluster-comp-pr-merged.yaml +++ b/.github/workflows/incluster-comp-pr-merged.yaml @@ -114,7 +114,7 @@ jobs: context: . file: build/Dockerfile tags: ${{ inputs.IMAGE_NAME }}:${{ steps.image-prerelease-tag.outputs.IMAGE_TAG_PRERELEASE }} - build-args: image_version=${{ steps.image-prerelease-tag.outputs.IMAGE_TAG }} + build-args: image_version=${{ inputs.IMAGE_TAG }} platforms: ${{ inputs.BUILD_PLATFORM }} cache-from: type=gha cache-to: type=gha,mode=max @@ -219,6 +219,7 @@ jobs: uses: mikepenz/action-junit-report@v3.6.1 if: always() # always run even if the previous step fails with: + github_token: ${{ secrets.GITHUB_TOKEN }} report_paths: '**/results_xml_format/**.xml'