File tree Expand file tree Collapse file tree 1 file changed +8
-11
lines changed Expand file tree Collapse file tree 1 file changed +8
-11
lines changed Original file line number Diff line number Diff line change 1313 - v**
1414
1515jobs :
16- build :
17- name : Docker
16+ build-docker :
17+ name : Build docker image
1818 runs-on : ubuntu-latest
1919 steps :
2020 - uses : actions/checkout@v3
21- - name : Login to GitHub Container Registry
22- uses : docker/login-action@v1
23- with :
24- username : ${{ github.repository_owner }}
25- password : ${{ secrets.GITHUB_TOKEN }}
26- registry : ghcr.io
2721 - name : Generate Docker meta names
2822 uses : docker/metadata-action@v3
2923 id : meta
3024 with :
31- images : ghcr.io/${{ github.repository }}
25+ images : convictional/trigger-workflow-and-wait
3226 tags : |
3327 type=ref,event=tag
3428 type=raw,enable=${{ !startsWith(github.ref, 'refs/tags/') }},value=master
3529 - name : Build Docker image
3630 uses : docker/build-push-action@v2
3731 with :
38- push : ${{ github.event_name != 'pull_request' }}
32+ push : false
3933 tags : ${{ steps.meta.outputs.tags }}
4034 labels : ${{ steps.meta.outputs.labels }}
4135 context : .
42- - name : Test
36+
37+ self-test :
38+ - name : Run self-test
39+ runs-on : ubuntu-latest
4340 if : ${{ github.event_name == 'pull_request' }}
4441 uses : ./
4542 with :
You can’t perform that action at this time.
0 commit comments