Skip to content

Commit

Permalink
🐳 Don't set docker metadata if there is no tag
Browse files Browse the repository at this point in the history
  • Loading branch information
cristianpb committed Feb 20, 2024
1 parent 21acf15 commit 2014243
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,10 @@ jobs:
user: __token__
password: ${{ secrets.pypi_password }}
repository_url: https://upload.pypi.org/legacy/
- name: Docker meta
- name: 🐳 Docker metadata
id: meta
uses: docker/metadata-action@v4
if: startsWith(github.event.ref, 'refs/tags')
with:
images: cristianpb/mopidy-muse
tags: |
Expand All @@ -64,7 +65,7 @@ jobs:
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
if: startsWith(github.event.ref, 'refs/tags')
- name: 🐳 Set up Docker Buildx
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
if: startsWith(github.event.ref, 'refs/tags')
- name: Login to DockerHub
Expand Down

0 comments on commit 2014243

Please sign in to comment.