Skip to content

Commit

Permalink
♻️ refactor(.github/workflows/postgres-build.yml): Enhance Docker t…
Browse files Browse the repository at this point in the history
…ag generation with additional events and patterns.
  • Loading branch information
vnobo committed Dec 12, 2024
1 parent 68592bf commit 7e57c01
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/postgres-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,11 @@ jobs:
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
# 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
- name: Log into registry ${{ env.REGISTRY }}
if: github.event_name != 'pull_request'
Expand Down

0 comments on commit 7e57c01

Please sign in to comment.