Skip to content

Commit eeb0b37

Browse files
committed
Don't show deploy instructions for forked builds
1 parent 8c9b5ac commit eeb0b37

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/docker.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,10 @@ jobs:
227227
retention-days: 1
228228

229229
docs:
230+
# if this build is for a forked PR or dependabot the images are not pushed to the
231+
# registry and the deploy instructions won't work.
232+
if: ${{ env.use_registry == 'false' }}
233+
230234
runs-on: ubuntu-22.04
231235
needs: [build-docker]
232236
steps:

0 commit comments

Comments
 (0)