From d63d7bf6386956d021a52ed25a1f3afa4e223c69 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=81=AA=E3=81=A4=E3=81=8D?= Date: Sun, 3 Nov 2024 12:34:40 -0800 Subject: [PATCH] Update build.yml --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1dd90c7..d03f066 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -168,7 +168,7 @@ jobs: with: context: . platforms: ${{ steps.prepare.outputs.platforms }} - push: ${{ github.ref == format('refs/heads/{0}', github.event.repository.default_branch) && inputs.ref == '' || startsWith(github.ref, 'refs/tags/') }} + push: ${{ github.ref == format('refs/heads/{0}', github.event.repository.default_branch) && inputs.ref == '' || github.ref_type == 'tag' }} tags: ${{ steps.docker-metadata.outputs.tags }} labels: ${{ steps.docker-metadata.outputs.labels }}