Releases: use flavor to set the tag suffix
@@ -65,7 +65,6 @@ jobs:
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}}
- type=raw,value=latest
type=sha
- name: Login to DockerHub
uses: docker/login-action@v1
@@ -125,13 +124,12 @@ jobs:
${{ secrets.DOCKERHUB_USERNAME }}/headscale
ghcr.io/${{ github.repository_owner }}/headscale
flavor: |
- latest=false
+ suffix=-debug,onlatest=true
tags: |
- type=semver,pattern={{version}}-debug
- type=semver,pattern={{major}}.{{minor}}-debug
- type=semver,pattern={{major}}-debug
- type=raw,value=latest-debug
- type=sha,suffix=-debug
+ type=semver,pattern={{version}}
+ type=semver,pattern={{major}}.{{minor}}
+ type=semver,pattern={{major}}
+ type=sha
- name: Login to DockerHub
uses: docker/login-action@v1
with:
