Commit 121ab44 1 parent ec1cab7 commit 121ab44 Copy full SHA for 121ab44
File tree 1 file changed +24
-1
lines changed
1 file changed +24
-1
lines changed Original file line number Diff line number Diff line change 8
8
- ' *'
9
9
10
10
jobs :
11
- build :
11
+ build-and-push :
12
12
runs-on : ubuntu-latest
13
13
steps :
14
14
- name : Checkout repository
47
47
davidecavestro/gphotos-cdp:${{ env.VERSION }}
48
48
davidecavestro/gphotos-cdp:latest
49
49
if : startsWith(github.ref, 'refs/tags/')
50
+
51
+ create-release :
52
+ runs-on : ubuntu-latest
53
+ needs : build-and-push
54
+ if : startsWith(github.ref, 'refs/tags/')
55
+
56
+ steps :
57
+ - name : Checkout repository
58
+ uses : actions/checkout@v3
59
+
60
+ - name : Create Release
61
+ id : create_release
62
+ uses : actions/create-release@v1
63
+ env :
64
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
65
+ with :
66
+ tag_name : ${{ github.ref_name }}
67
+ release_name : v${{ github.ref_name }}
68
+ body : |
69
+ This release provides the container image:
70
+ `ghcr.io/davidecavestro/gphotos-cdp:${{ github.ref_name }}`
71
+ draft : false
72
+ prerelease : false
You can’t perform that action at this time.
0 commit comments