From b1e07a41d47de8d76f3358b79557c4af7bb0f730 Mon Sep 17 00:00:00 2001 From: "Alex.Bob" Date: Thu, 12 Dec 2024 19:38:54 +0800 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20feat(`postgres-build.yml`):=20Updat?= =?UTF-8?q?e=20Docker=20tags=20for=20semantic=20versioning.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/postgres-build.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/postgres-build.yml b/.github/workflows/postgres-build.yml index ba43a41..8f7f789 100644 --- a/.github/workflows/postgres-build.yml +++ b/.github/workflows/postgres-build.yml @@ -39,10 +39,8 @@ jobs: # generate Docker tags based on the following events/attributes tags: | type=ref,event=branch - type=ref,event=pr type=semver,pattern={{version}} - type=semver,pattern={{major}}.{{minor}} - type=sha + type=semver,pattern={{version}},value=17 - name: Log into registry ${{ env.REGISTRY }} if: github.event_name != 'pull_request'