mirror of
https://github.com/Lissy93/dashy.git
synced 2025-07-21 12:45:16 +02:00
🔨 Update docker workflow, to only publish tag when new
This commit is contained in:
parent
d2b68fbd58
commit
86adcbd8dd
5
.github/workflows/docker-build-publish.yml
vendored
5
.github/workflows/docker-build-publish.yml
vendored
@ -1,11 +1,10 @@
|
|||||||
# Scans, builds and releases a multi-architecture docker image
|
|
||||||
name: 🐳 Build + Publish Multi-Platform Image
|
name: 🐳 Build + Publish Multi-Platform Image
|
||||||
|
|
||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
push:
|
push:
|
||||||
branches: ['master']
|
branches: ['master']
|
||||||
tags: [v*]
|
tags: ['v*']
|
||||||
paths:
|
paths:
|
||||||
- '**.js'
|
- '**.js'
|
||||||
- 'src/**'
|
- 'src/**'
|
||||||
@ -48,7 +47,7 @@ jobs:
|
|||||||
ghcr.io/${{ env.GH_IMAGE }}
|
ghcr.io/${{ env.GH_IMAGE }}
|
||||||
tags: |
|
tags: |
|
||||||
type=ref,event=tag,prefix=release-,suffix={{tag}}
|
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: |
|
labels: |
|
||||||
maintainer=Lissy93
|
maintainer=Lissy93
|
||||||
org.opencontainers.image.title=Dashy
|
org.opencontainers.image.title=Dashy
|
||||||
|
Loading…
x
Reference in New Issue
Block a user