Skip to content

Commit a3de43e

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

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/docker.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,9 @@ jobs:
231231
needs: [build-docker]
232232
steps:
233233
- name: Branch deployment docs
234+
# if this build is for a forked PR or dependabot the images are not pushed to the
235+
# registry and the deploy instructions won't work.
236+
if: ${{ env.use_registry == 'false' }}
234237
run: |
235238
cat >> $GITHUB_STEP_SUMMARY <<EOF
236239

0 commit comments

Comments
 (0)