Releases: use flavor to set the tag suffix

This commit is contained in:
Steven Honson 2022-11-15 00:26:10 +11:00 committed by Juan Font
parent 6391555dab
commit 3d4af52b3a

View file

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