mirror of https://github.com/Lissy93/dashy.git
🔨 Update how Docker tagging works
This commit is contained in:
parent
8e01d342a8
commit
34887272ed
|
@ -4,7 +4,7 @@ on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
push:
|
push:
|
||||||
branches: ['master']
|
branches: ['master']
|
||||||
tags: ['v*']
|
tags: ['*.*']
|
||||||
paths:
|
paths:
|
||||||
- '**.js'
|
- '**.js'
|
||||||
- 'src/**'
|
- 'src/**'
|
||||||
|
@ -46,8 +46,12 @@ jobs:
|
||||||
${{ env.DH_IMAGE }}
|
${{ env.DH_IMAGE }}
|
||||||
ghcr.io/${{ env.GH_IMAGE }}
|
ghcr.io/${{ env.GH_IMAGE }}
|
||||||
tags: |
|
tags: |
|
||||||
type=ref,event=tag,prefix=release-,suffix={{tag}}
|
type=ref,event=tag
|
||||||
type=semver,pattern={{major}}.x,value=${{ steps.package-version.outputs.version }}
|
type=semver,pattern={{version}},enable=false
|
||||||
|
type=semver,pattern={{major}}.x
|
||||||
|
type=raw,value=latest
|
||||||
|
flavor: |
|
||||||
|
latest=false
|
||||||
labels: |
|
labels: |
|
||||||
maintainer=Lissy93
|
maintainer=Lissy93
|
||||||
org.opencontainers.image.title=Dashy
|
org.opencontainers.image.title=Dashy
|
||||||
|
|
Loading…
Reference in New Issue