diff --git a/.github/workflows/deploy-k8s.yml b/.github/workflows/deploy-k8s.yml index 59058ebc87..1bfc5a6f24 100644 --- a/.github/workflows/deploy-k8s.yml +++ b/.github/workflows/deploy-k8s.yml @@ -53,10 +53,13 @@ jobs: - name: List Images run: | docker images + RESOLVED_IMAGE_TAG=${{ env.IMAGE_TAG }} + echo "IMAGE: ${{env.IMAGE_TAG}} :: $RESOLVED_IMAGE_TAG" + echo "IMAGE=$RESOLVED_IMAGE_TAG" >> $GITHUB_ENV - name: Run Trivy vulnerability scanner uses: aquasecurity/trivy-action@master with: - image-ref: processmaker/enterprise:${{env.IMAGE_TAG}} + image-ref: processmaker/enterprise:$RESOLVED_IMAGE_TAG format: 'table' exit-code: '0' ignore-unfixed: false