diff --git a/.github/workflows/_buildx.yml b/.github/workflows/_buildx.yml index 224c674e1..467aeb72a 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 }}