From 3d4af52b3af40c740cd2c889c0854e6c133d1dc0 Mon Sep 17 00:00:00 2001 From: Steven Honson Date: Tue, 15 Nov 2022 00:26:10 +1100 Subject: [PATCH] Releases: use flavor to set the tag suffix --- .github/workflows/release.yml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f5c21071..d23ab620 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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: