Skip to content

Commit

Permalink
🐳 Add tags to docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
cristianpb committed Feb 11, 2024
1 parent 8b3684d commit 011f602
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,15 @@ jobs:
user: __token__
password: ${{ secrets.pypi_password }}
repository_url: https://upload.pypi.org/legacy/
- name: Docker meta
id: meta
uses: docker/metadata-action@v4
with:
images: cristianpb/mopidy-muse
tags: |
type=semver,pattern={{version}},value=v0.27.0
type=semver,pattern={{major}}.{{minor}},value=v0.27.0
type=semver,pattern={{major}},value=v0.27.0
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
if: startsWith(github.event.ref, 'refs/tags')
Expand All @@ -70,7 +79,8 @@ jobs:
file: ./Dockerfile
push: true
platforms: linux/amd64,linux/arm64
tags: cristianpb/mopidy-muse:latest
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
target: prod
- name: 🍱 Upload package artifact
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit 011f602

Please sign in to comment.