From 6abb6b13b6e181db143d02f1e2ab1634184df1f3 Mon Sep 17 00:00:00 2001 From: Andrew Date: Mon, 22 Jul 2024 18:57:45 -0500 Subject: [PATCH] Update docker-build.yml --- .github/workflows/docker-build.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/docker-build.yml b/.github/workflows/docker-build.yml index 68f83d4..d9c9d61 100644 --- a/.github/workflows/docker-build.yml +++ b/.github/workflows/docker-build.yml @@ -10,7 +10,6 @@ on: - cron: '43 19 */7 * *' env: - # TODO: Change variable to your image's name. IMAGE_NAME: thermostat_api_server jobs: @@ -26,7 +25,7 @@ jobs: - name: Run Trivy vulnerability scanner uses: aquasecurity/trivy-action@0.20.0 with: - image-ref: '${{IMAGE_NAME}}' + image-ref: ${{ env.IMAGE_NAME }} format: 'sarif' output: 'trivy-results.sarif'