From 4483dae869c6cb4f604756ce3d7e65bf5206483b Mon Sep 17 00:00:00 2001 From: Brett Logan Date: Fri, 23 Dec 2022 16:06:03 -0500 Subject: [PATCH] Fix image-id input Signed-off-by: Brett Logan --- .github/workflows/build.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 19f6b26f..0034a428 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -14,11 +14,11 @@ jobs: matrix: images: - container-build-target: final_slim - container-image-id-prefix: slim- + image-id-prefix: slim- deployment-environment-identifier: Production-SLIM image-id: slim - container-build-target: final_standard - container-image-id-prefix: "" + image-id-prefix: "" deployment-environment-identifier: Production image-id: standard timeout-minutes: 60 @@ -39,13 +39,13 @@ jobs: env: date: ${{ env.BUILD_DATE }} revision: ${{ github.sha }} - tag: ${{ matrix.images.container-image-id }} + tag: ${{ matrix.images.image-id }} target: ${{ matrix.images.container-build-target }} version: ${{ github.sha }} - name: Update action.yml run: yq -i action.yml '.runs.image = "docker://ghcr.io/github/super-linter:${tag}"' env: - tag: ${{ matrix.images.container-image-id }} + tag: ${{ matrix.images.image-id }} - name: Lint Codebase if: ${{ github.repository == 'github/super-linter' && github.ref != 'refs/heads/main' }} uses: ./ @@ -71,7 +71,7 @@ jobs: -v "${GITHUB_WORKSPACE}:/tmp/lint" \ "ghcr.io/github/super-linter:${tag}" env: - tag: ${{ matrix.images.container-image-id }} + tag: ${{ matrix.images.image-id }} - name: Run All Codebase Super-Linter Tests if: ${{ github.repository == 'github/super-linter' && github.ref != 'refs/heads/main' }} run: | @@ -83,4 +83,4 @@ jobs: -v "${GITHUB_WORKSPACE}:/tmp/lint" \ "ghcr.io/github/super-linter:${tag}" env: - tag: ${{ matrix.images.container-image-id }} + tag: ${{ matrix.images.image-id }}