File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed
Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -174,12 +174,14 @@ jobs:
174174 SYSTEM_TEST_IMAGE=$SYSTEM_TEST_IMAGE \
175175 build
176176 - name : login to ghcr
177+ if : github.event.pull_request.head.repo.full_name == github.repository
177178 uses : docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9
178179 with :
179180 registry : ghcr.io
180181 username : ${{ github.actor }}
181182 password : ${{ github.token }}
182183 - name : Publish system-test image
184+ if : github.event.pull_request.head.repo.full_name == github.repository
183185 run : |
184186 docker push $SYSTEM_TEST_IMAGE
185187
@@ -202,6 +204,13 @@ jobs:
202204
203205 SYSTEM_TEST_IMAGE : ${{ needs.prepare-config.outputs.system-test-image-cached }}
204206 steps :
207+ - name : login to ghcr
208+ uses : docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9
209+ with :
210+ registry : ghcr.io
211+ username : ${{ github.actor }}
212+ password : ${{ github.token }}
213+
205214 - name : download system-test image
206215 run : |
207216 docker pull $SYSTEM_TEST_IMAGE
You can’t perform that action at this time.
0 commit comments