From 454f21789d89eecc170256eb3c3d1a836a5624fd Mon Sep 17 00:00:00 2001 From: Felipe Martin <812088+fmartingr@users.noreply.github.com> Date: Wed, 19 Jul 2023 18:50:57 +0200 Subject: [PATCH] fix: docker buildx tags (#650) --- .github/workflows/_buildx.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/_buildx.yml b/.github/workflows/_buildx.yml index 224c674..467aeb7 100644 --- a/.github/workflows/_buildx.yml +++ b/.github/workflows/_buildx.yml @@ -24,7 +24,7 @@ jobs: gzip -d -S binaries/.gz__ -r . chmod 755 binaries/shiori_linux_*/shiori - name: Prepare master push tags - if: ${{ startsWith(github.ref, 'refs/tags/v') }} + if: github.event_name == 'push' && github.ref == 'refs/heads/master' run: | echo "tag_flags=--tag ${{ github.ref }}" >> $GITHUB_ENV REPO=ghcr.io/${{ github.repository }}