From 513bb64936bc79ab706d9ceecc0408b4c912f56b Mon Sep 17 00:00:00 2001 From: MicroOps Date: Mon, 28 Oct 2024 18:46:48 +0800 Subject: [PATCH] fix: workflow build docker image Signed-off-by: MicroOps --- .github/workflows/github-actions-build.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/github-actions-build.yaml b/.github/workflows/github-actions-build.yaml index 0c2a042..4385cf3 100644 --- a/.github/workflows/github-actions-build.yaml +++ b/.github/workflows/github-actions-build.yaml @@ -89,8 +89,6 @@ jobs: with: images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} tags: | - type=ref,event=branch - type=ref,event=pr type=semver,pattern={{major}}.{{minor}}.{{sha}} - name: Get GeoLite2-City.mmdb run: | @@ -174,6 +172,8 @@ jobs: uses: docker/metadata-action@v5 with: images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} + tags: | + type=semver,pattern={{major}}.{{minor}}.{{sha}} - name: Create manifest list and push working-directory: /tmp/digests