File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 4747 type=ref,event=branch
4848 - name : Extract first tag
4949 run : |
50- FIRST_TAG=$(echo "${{ steps.meta.outputs.tags }}" | head -n1)
50+ FIRST_TAG=$(echo "${{ steps.meta.outputs.tags }}" | head -n1 | rev | cut -d: -f1 | rev )
5151 echo "FIRST_TAG=$FIRST_TAG" >> $GITHUB_ENV
5252 - name : push
5353 uses : docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6.18.0 https://github.com/docker/build-push-action/releases/tag/v6.18.0
6565 format : ' sarif'
6666 output : ' trivy-results-${{ env.FIRST_TAG }}.sarif'
6767 - name : Upload Trivy scan results to GitHub Security tab
68- uses : github/codeql-action/upload-sarif@d3ced5c96c16c4332e2a61eb6f3649d6f1b20bb8 # v3 .31.5
68+ uses : github/codeql-action/upload-sarif@fdbfb4d2750291e159f0156def62b853c2798ca2 # v4 .31.5
6969 if : always()
7070 with :
7171 sarif_file : ' trivy-results-${{ env.FIRST_TAG }}.sarif'
You can’t perform that action at this time.
0 commit comments