File tree Expand file tree Collapse file tree 1 file changed +9
-4
lines changed
Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -19,24 +19,29 @@ jobs:
1919 build :
2020 runs-on : ubuntu-latest
2121 steps :
22+ - name : Harden the runner (Audit all outbound calls)
23+ uses : step-security/harden-runner@002fdce3c6a235733a90a27c80493a3241e56863 # v2.12.1
24+ with :
25+ egress-policy : audit
26+
2227 - name : Checkout repository
23- uses : actions/checkout@v4
28+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2429
2530 - name : Log in to the Container registry
26- uses : docker/login-action@v3
31+ uses : docker/login-action@74a5d142397b4f367a81961eba4e8cd7edddf772 # v3.4.0
2732 with :
2833 registry : ${{ env.REGISTRY }}
2934 username : ${{ github.actor }}
3035 password : ${{ secrets.GITHUB_TOKEN }}
3136
3237 - name : Extract metadata (tags, labels) for Docker
3338 id : meta
34- uses : docker/metadata-action@v5
39+ uses : docker/metadata-action@902fa8ec7d6ecbf8d84d538b9b233a880e428804 # v5.7.0
3540 with :
3641 images : ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
3742
3843 - name : Build and push Docker image
39- uses : docker/build-push-action@v5
44+ uses : docker/build-push-action@ca052bb54ab0790a636c9b5f226502c73d547a25 # v5.4.0
4045 with :
4146 context : .
4247 push : true
You can’t perform that action at this time.
0 commit comments