Skip to content

Commit

Permalink
🔨 Update how Docker tagging works
Browse files Browse the repository at this point in the history
  • Loading branch information
Lissy93 committed May 25, 2024
1 parent 8e01d34 commit 3488727
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/docker-build-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
workflow_dispatch:
push:
branches: ['master']
tags: ['v*']
tags: ['*.*']
paths:
- '**.js'
- 'src/**'
Expand Down Expand Up @@ -46,8 +46,12 @@ jobs:
${{ env.DH_IMAGE }}
ghcr.io/${{ env.GH_IMAGE }}
tags: |
type=ref,event=tag,prefix=release-,suffix={{tag}}
type=semver,pattern={{major}}.x,value=${{ steps.package-version.outputs.version }}
type=ref,event=tag
type=semver,pattern={{version}},enable=false
type=semver,pattern={{major}}.x
type=raw,value=latest
flavor: |
latest=false
labels: |
maintainer=Lissy93
org.opencontainers.image.title=Dashy
Expand Down

0 comments on commit 3488727

Please sign in to comment.