mirror of https://github.com/Lissy93/dashy.git
🔨 Update docker workflow, to only publish tag when new
This commit is contained in:
parent
d2b68fbd58
commit
86adcbd8dd
|
@ -1,11 +1,10 @@
|
|||
# Scans, builds and releases a multi-architecture docker image
|
||||
name: 🐳 Build + Publish Multi-Platform Image
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
push:
|
||||
branches: ['master']
|
||||
tags: [v*]
|
||||
tags: ['v*']
|
||||
paths:
|
||||
- '**.js'
|
||||
- 'src/**'
|
||||
|
@ -48,7 +47,7 @@ jobs:
|
|||
ghcr.io/${{ env.GH_IMAGE }}
|
||||
tags: |
|
||||
type=ref,event=tag,prefix=release-,suffix={{tag}}
|
||||
type=semver,pattern={{raw}},value=${{ steps.package-version.outputs.version }}
|
||||
type=semver,pattern={{major}}.x,value=${{ steps.package-version.outputs.version }}
|
||||
labels: |
|
||||
maintainer=Lissy93
|
||||
org.opencontainers.image.title=Dashy
|
||||
|
|
Loading…
Reference in New Issue