File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1313 branches :
1414 - ' master'
1515 - ' [0-9]+.[0-9]+'
16+ - ' ci-bin-image'
1617 tags :
1718 - ' v*'
1819 pull_request :
9192
9293 bin-image :
9394 runs-on : ubuntu-20.04
94- if : ${{ github.event_name != 'pull_request' && github. repository == 'docker/cli' }}
95+ if : ${{ github.repository == 'docker/cli' }}
9596 steps :
9697 -
9798 name : Checkout
@@ -115,7 +116,6 @@ jobs:
115116 type=sha
116117 -
117118 name : Login to DockerHub
118- if : github.event_name != 'pull_request'
119119 uses : docker/login-action@v3
120120 with :
121121 username : ${{ secrets.DOCKERHUB_CLIBIN_USERNAME }}
@@ -128,7 +128,7 @@ jobs:
128128 ./docker-bake.hcl
129129 ${{ steps.meta.outputs.bake-file }}
130130 targets : bin-image-cross
131- push : ${{ github.event_name != 'pull_request' }}
131+ push : true
132132 set : |
133133 *.cache-from=type=gha,scope=bin-image
134134 *.cache-to=type=gha,scope=bin-image,mode=max
You can’t perform that action at this time.
0 commit comments