From a351de744154b71e4c33d26a2a7c5232e98597a0 Mon Sep 17 00:00:00 2001 From: yusing Date: Sat, 21 Sep 2024 14:32:52 +0800 Subject: [PATCH] github CI fix attempt --- .github/workflows/docker-image.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index f78300d6..7c194718 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -15,7 +15,7 @@ jobs: tags: ${{ github.ref_name }} - name: Tag as latest - if: startsWith(github.ref, 'refs/tags/v') && !contains(github.ref_name, '-') + if: startsWith(github.ref, 'refs/tags/') && !contains(github.ref_name, '-') run: | docker tag ghcr.io/${{ github.repository }}:${{ github.ref_name }} ghcr.io/${{ github.repository }}:latest docker push ghcr.io/${{ github.repository }}:latest