6666 - name : Get Git commit timestamps
6767 run : echo "TIMESTAMP=$(git log -1 --pretty=%ct)" >> $GITHUB_ENV
6868 - name : Build Testimage
69- uses : docker/build-push-action@d08e5c354a6adb9ed34480a06d141179aa583294 # v7
69+ uses : docker/build-push-action@bcafcacb16a39f128d818304e6c9c0c18556b85f # v7
7070 env :
7171 SOURCE_DATE_EPOCH : ${{ env.TIMESTAMP }}
7272 with :
7777 - name : Run small selftest on build container image
7878 run : docker run -v "./tests/selftest.sh:/selftest.sh" "${{ env.TEST_TAG }}" ./selftest.sh
7979 - name : Build and push
80- uses : docker/build-push-action@d08e5c354a6adb9ed34480a06d141179aa583294 # v7
80+ uses : docker/build-push-action@bcafcacb16a39f128d818304e6c9c0c18556b85f # v7
8181 id : docker-build
8282 env :
8383 SOURCE_DATE_EPOCH : ${{ env.TIMESTAMP }}
@@ -103,15 +103,15 @@ jobs:
103103 COSIGN_PRIVATE_KEY : ${{ secrets.COSIGN_PRIVATE_KEY }}
104104 COSIGN_PASSWORD : ${{ secrets.COSIGN_PASSWORD }}
105105 - name : Run Trivy vulnerability scanner
106- uses : aquasecurity/trivy-action@57a97c7e7821a5776cebc9bb87c984fa69cba8f1 # master
106+ uses : aquasecurity/trivy-action@ed142fd0673e97e23eac54620cfb913e5ce36c25 # master
107107 if : ${{ github.event_name != 'pull_request' }}
108108 with :
109109 image-ref : " ghcr.io/anotherstranger/borg-server:sha-${{ github.sha }}"
110110 format : ' sarif'
111111 output : " trivy-results.sarif"
112112 severity : " CRITICAL,HIGH"
113113 - name : Upload Trivy scan results to GitHub Security tab
114- uses : github/codeql-action/upload-sarif@c10b8064de6f491fea524254123dbe5e09572f13 # v4
114+ uses : github/codeql-action/upload-sarif@e46ed2cbd01164d986452f91f178727624ae40d7 # v4
115115 if : ${{ github.event_name != 'pull_request' }}
116116 with :
117117 sarif_file : " trivy-results.sarif"
0 commit comments