File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed
Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change 11name : Build and Push Devnet Image
22
33on :
4- workflow_run :
5- workflows : ['Semantic Versioning']
6- types : [completed]
7- branches : [develop]
4+ push :
5+ tags : ['v*']
86 # also allow manual runs
97 workflow_dispatch :
108
119jobs :
1210 build :
13- if : github.event_name == 'workflow_dispatch' || github.event.workflow_run.conclusion == 'success'
11+ if : github.event_name == 'workflow_dispatch' || startsWith( github.ref, 'refs/tags/v')
1412 runs-on : ubuntu-latest
1513 permissions :
1614 contents : read
1917 - name : Checkout source
2018 uses : actions/checkout@v4
2119 with :
22- ref : ${{ github.event_name == 'workflow_run' && github.event.workflow_run.head_sha || github. sha }}
20+ ref : ${{ github.sha }}
2321
2422 - uses : docker/setup-qemu-action@v3
2523 - uses : docker/setup-buildx-action@v3
Original file line number Diff line number Diff line change 2525 uses : actions/checkout@v4
2626 with :
2727 fetch-depth : 0 # fetch all history + tags
28+ token : ${{ secrets.PAT_TOKEN }}
2829
2930 - name : Configure git
3031 run : |
You can’t perform that action at this time.
0 commit comments