File tree Expand file tree Collapse file tree 1 file changed +25
-1
lines changed Expand file tree Collapse file tree 1 file changed +25
-1
lines changed Original file line number Diff line number Diff line change 88 - ' *'
99
1010jobs :
11- build :
11+ build-and-push :
1212 runs-on : ubuntu-latest
1313 steps :
1414 - name : Checkout repository
4747 davidecavestro/gphotos-cdp:${{ env.VERSION }}
4848 davidecavestro/gphotos-cdp:latest
4949 if : startsWith(github.ref, 'refs/tags/')
50+
51+ create-release :
52+ runs-on : ubuntu-latest
53+ needs : build-and-push
54+ permissions : write-all
55+ if : startsWith(github.ref, 'refs/tags/')
56+
57+ steps :
58+ - name : Checkout repository
59+ uses : actions/checkout@v3
60+
61+ - name : Create Release
62+ id : create_release
63+ uses : actions/create-release@v1
64+ env :
65+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
66+ with :
67+ tag_name : ${{ github.ref_name }}
68+ release_name : v${{ github.ref_name }}
69+ body : |
70+ This release provides the container image:
71+ `ghcr.io/davidecavestro/gphotos-cdp:${{ github.ref_name }}`
72+ draft : false
73+ prerelease : false
You can’t perform that action at this time.
0 commit comments