File tree Expand file tree Collapse file tree 1 file changed +14
-2
lines changed Expand file tree Collapse file tree 1 file changed +14
-2
lines changed Original file line number Diff line number Diff line change 77# To get a newer version, you will need to update the SHA.
88# You can also reference a tag or branch, but the action may change without warning.
99
10- name : Build and Publish Docker image
10+ name : Build and release
1111
1212on :
1313 push :
2020 - " master"
2121
2222jobs :
23- push_to_registry :
23+ build :
2424 name : Build and Publish Docker image to Docker Hub
2525 runs-on : ubuntu-latest
2626 permissions :
5353 push : ${{ github.event_name != 'pull_request' }}
5454 tags : ${{ steps.meta.outputs.tags }}
5555 labels : ${{ steps.meta.outputs.labels }}
56+
57+ release :
58+ name : Create GitHub Release
59+ needs : build
60+ if : startsWith(github.ref, 'refs/tags/')
61+ runs-on : ubuntu-latest
62+ steps :
63+ - name : Checkout
64+ uses : actions/checkout@v4
65+
66+ - name : Release
67+ uses : softprops/action-gh-release@v2
You can’t perform that action at this time.
0 commit comments