aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorMax Isom <[email protected]>2024-08-18 16:14:31 -0700
committerMax Isom <[email protected]>2024-08-18 16:14:46 -0700
commit52df7d42f1e9f46a669ca918ff7dec699cedf087 (patch)
treeb7970115415c78bccb63adca6c8edd91f1e46de9 /.github/workflows
parent4c2f65ff2d8a49fb18dc7d5ff40e71534a1a8817 (diff)
downloadmuse-52df7d42f1e9f46a669ca918ff7dec699cedf087.tar.xz
muse-52df7d42f1e9f46a669ca918ff7dec699cedf087.zip
Update readme, changelog, release workflow
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/publish.yml9
1 files changed, 6 insertions, 3 deletions
diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml
index 7e7a4f6..0a7b5c3 100644
--- a/.github/workflows/publish.yml
+++ b/.github/workflows/publish.yml
@@ -5,6 +5,9 @@ on:
tags:
- 'v*'
+env:
+ REGISTRY_IMAGE: ghcr.io/museofficial/muse
+
jobs:
publish:
strategy:
@@ -53,7 +56,7 @@ jobs:
push: true
tags: |
codetheweb/muse:${{ github.sha }}-${{ matrix.tagged-platform }}
- ghcr.io/museofficial/muse:${{ github.sha }}-${{ matrix.tagged-platform }}
+ ${{ env.REGISTRY_IMAGE }}:${{ github.sha }}-${{ matrix.tagged-platform }}
platforms: ${{ matrix.build-arch }}
build-args: |
COMMIT_HASH=${{ github.sha }}
@@ -92,13 +95,13 @@ jobs:
id: get-tags-ghcr
uses: Surgo/docker-smart-tag-action@v1
with:
- docker_image: codetheweb/muse
+ docker_image: ${{ env.REGISTRY_IMAGE }}
- name: Combine tags (Docker Hub)
run: docker buildx imagetools create $(echo '${{ steps.get-tags-dockerhub.outputs.tag }}' | tr "," "\0" | xargs -0 printf -- '-t %s ') 'codetheweb/muse:${{ github.sha }}-arm64' 'codetheweb/muse:${{ github.sha }}-amd64'
- name: Combine tags (GitHub Container Registry)
- run: docker buildx imagetools create $(echo '${{ steps.get-tags-ghcr.outputs.tag }}' | tr "," "\0" | xargs -0 printf -- '-t %s ') 'ghcr.io/museofficial/muse:${{ github.sha }}-arm64' 'ghcr.io/museofficial/muse:${{ github.sha }}-amd64'
+ run: docker buildx imagetools create $(echo '${{ steps.get-tags-ghcr.outputs.tag }}' | tr "," "\0" | xargs -0 printf -- '-t %s ') '${{ env.REGISTRY_IMAGE }}:${{ github.sha }}-arm64' '${{ env.REGISTRY_IMAGE }}:${{ github.sha }}-amd64'
- name: Update Docker Hub description
uses: peter-evans/[email protected]