File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -181,6 +181,7 @@ jobs:
181181 run : utils/devel/test_docker_image.sh '${{ github.repository }}:latest'
182182
183183 - name : Push image to registries
184+ id : push-image
184185 if : github.event_name != 'pull_request'
185186 uses : docker/build-push-action@ca877d9245402d1537745e0e356eab47c3520991 # v6.13.0
186187 with :
@@ -234,6 +235,9 @@ jobs:
234235 runs-on : ubuntu-latest
235236 needs : [build-dockerfile]
236237 if : github.event_name != 'pull_request'
238+ permissions :
239+ contents : read
240+ packages : write
237241 steps :
238242 - name : Checkout
239243 uses : actions/checkout@v4
@@ -258,7 +262,7 @@ jobs:
258262 merge-multiple : true
259263
260264 - name : Login to GitHub Container Registry
261- uses : docker/login-action@v3
265+ uses : docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3.3.0
262266 with :
263267 registry : ghcr.io
264268 username : ${{ github.repository_owner }}
You can’t perform that action at this time.
0 commit comments