mirror of
https://github.com/juanfont/headscale.git
synced 2024-11-29 18:33:05 +00:00
Releases: use flavor to set the tag suffix
This commit is contained in:
parent
6391555dab
commit
3d4af52b3a
1 changed files with 5 additions and 7 deletions
12
.github/workflows/release.yml
vendored
12
.github/workflows/release.yml
vendored
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue