Skip to content

Commit

Permalink
feat(workflows): update Docker build tags to use semver pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
NorkzYT committed Mar 30, 2024
1 parent 9826789 commit 829145d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/docker-build-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ jobs:
- name: 🛎️ Checkout Repo
uses: actions/checkout@v2

- name: 🔖 Get App Version
uses: tyankatsu0105/read-package-version-actions@v1
id: package-version

- name: 🗂️ Make Docker Meta
id: meta
uses: docker/metadata-action@v3
Expand All @@ -40,7 +44,7 @@ jobs:
${{ env.DH_IMAGE }}
ghcr.io/${{ env.GH_IMAGE }}
tags: |
type=ref,event=tag,pattern={{version}},suffix={{tag}}
type=semver,event=tag,pattern={{version}},value={{tag}}
labels: |
maintainer=NorkzYT
org.opencontainers.image.title=Backuponepass
Expand Down

0 comments on commit 829145d

Please sign in to comment.