From 2014243d1585d2b0af7a45cbaeab4f6c5229d3f1 Mon Sep 17 00:00:00 2001 From: cristianpb Date: Tue, 20 Feb 2024 08:31:40 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=B3=20Don't=20set=20docker=20metadata?= =?UTF-8?q?=20if=20there=20is=20no=20tag?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/publish.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 8879722..5a66ce3 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -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: | @@ -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