From 4e77c95ce5bcd4b4438dee7ed928bae003671d38 Mon Sep 17 00:00:00 2001 From: Oliver Gut Date: Wed, 6 Jul 2022 11:22:47 +0200 Subject: [PATCH] Fix docker build args (#66) --- .github/workflows/trivy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/trivy.yml b/.github/workflows/trivy.yml index 2c077ea..9135992 100644 --- a/.github/workflows/trivy.yml +++ b/.github/workflows/trivy.yml @@ -22,7 +22,7 @@ jobs: - name: Build an image from Dockerfile run: | - docker build --build-arg VERSION=${{ env.GITHUB_RUN_NUMBER }} --build-arg REVISION=abcdefg -t ghcr.io/geowerkstatt/ews-boda:${{ github.sha }} . + docker build --build-arg VERSION=$GITHUB_RUN_NUMBER --build-arg REVISION=${{ github.sha }} -t ghcr.io/geowerkstatt/ews-boda:${{ github.sha }} . - name: Run Trivy vulnerability scanner uses: aquasecurity/trivy-action@7b7aa264d83dc58691451798b4d117d53d21edfe