Include docker image links in release notes

This commit is contained in:
Maksym Pavlenko
2023-05-05 16:51:29 -07:00
parent 947ac530f0
commit dd551d9798
2 changed files with 21 additions and 9 deletions
+13 -9
View File
@@ -5,6 +5,10 @@ on:
tags:
- 'v*'
env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
jobs:
publish:
name: Publish
@@ -21,15 +25,6 @@ jobs:
with:
fetch-depth: 0
- name: 🚧️ Make release
uses: goreleaser/goreleaser-action@v4
if: startsWith(github.ref, 'refs/tags/')
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
version: latest
args: release --clean
- name: 🧪 Set up Docker Buildx
uses: docker/setup-buildx-action@v2
@@ -51,3 +46,12 @@ jobs:
platforms: linux/amd64,linux/arm64
push: true
tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest, ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:v${{ github.ref_name }}
- name: 🚧️ Make release
uses: goreleaser/goreleaser-action@v4
if: startsWith(github.ref, 'refs/tags/')
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
version: latest
args: release --clean
+8
View File
@@ -44,3 +44,11 @@ changelog:
- '^test:'
- Merge pull request
- Merge branch
release:
# We publish Docker image manually,
# include links to the release notes.
footer: |
# Docker images
docker pull ghcr.io/mxpv/podsync:{{ .Tag }}
docker pull ghcr.io/mxpv/podsync:latest