File tree Expand file tree Collapse file tree 2 files changed +21
-9
lines changed Expand file tree Collapse file tree 2 files changed +21
-9
lines changed Original file line number Diff line number Diff line change 5
5
tags :
6
6
- ' v*'
7
7
8
+ env :
9
+ REGISTRY : ghcr.io
10
+ IMAGE_NAME : ${{ github.repository }}
11
+
8
12
jobs :
9
13
publish :
10
14
name : Publish
21
25
with :
22
26
fetch-depth : 0
23
27
24
- - name : 🚧️ Make release
25
- uses : goreleaser/goreleaser-action@v4
26
- if : startsWith(github.ref, 'refs/tags/')
27
- env :
28
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
29
- with :
30
- version : latest
31
- args : release --clean
32
-
33
28
- name : 🧪 Set up Docker Buildx
34
29
uses : docker/setup-buildx-action@v2
35
30
51
46
platforms : linux/amd64,linux/arm64
52
47
push : true
53
48
tags : ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest, ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:v${{ github.ref_name }}
49
+
50
+ - name : 🚧️ Make release
51
+ uses : goreleaser/goreleaser-action@v4
52
+ if : startsWith(github.ref, 'refs/tags/')
53
+ env :
54
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
55
+ with :
56
+ version : latest
57
+ args : release --clean
Original file line number Diff line number Diff line change @@ -44,3 +44,11 @@ changelog:
44
44
- ' ^test:'
45
45
- Merge pull request
46
46
- Merge branch
47
+
48
+ release :
49
+ # We publish Docker image manually,
50
+ # include links to the release notes.
51
+ footer : |
52
+ # Docker images
53
+ docker pull ghcr.io/mxpv/podsync:{{ .Tag }}
54
+ docker pull ghcr.io/mxpv/podsync:latest
You can’t perform that action at this time.
0 commit comments