mirror of
https://github.com/juanfont/headscale.git
synced 2024-11-27 12:05:26 +00:00
fix ko dockerhub builds (#1751)
Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
This commit is contained in:
parent
82c64f682c
commit
c42f25bd72
@ -82,6 +82,10 @@ nfpms:
|
|||||||
kos:
|
kos:
|
||||||
- id: ghcr
|
- id: ghcr
|
||||||
repository: ghcr.io/juanfont/headscale
|
repository: ghcr.io/juanfont/headscale
|
||||||
|
|
||||||
|
# bare tells KO to only use the repository
|
||||||
|
# for tagging and naming the container.
|
||||||
|
bare: true
|
||||||
base_image: gcr.io/distroless/base-debian12
|
base_image: gcr.io/distroless/base-debian12
|
||||||
build: headscale
|
build: headscale
|
||||||
main: ./cmd/headscale
|
main: ./cmd/headscale
|
||||||
@ -99,12 +103,13 @@ kos:
|
|||||||
- "{{ .Major }}.{{ .Minor }}"
|
- "{{ .Major }}.{{ .Minor }}"
|
||||||
- "{{ .Major }}"
|
- "{{ .Major }}"
|
||||||
- "sha-{{ .ShortCommit }}"
|
- "sha-{{ .ShortCommit }}"
|
||||||
- "{{ if not .Prerelease }}stable{{ end }}"
|
- "{{ if not .Prerelease }}stable{{ else }}unstable{{ end }}"
|
||||||
|
|
||||||
- id: dockerhub
|
- id: dockerhub
|
||||||
build: headscale
|
build: headscale
|
||||||
base_image: gcr.io/distroless/base-debian12
|
base_image: gcr.io/distroless/base-debian12
|
||||||
repository: headscale/headscale
|
repository: headscale/headscale
|
||||||
|
bare: true
|
||||||
platforms:
|
platforms:
|
||||||
- linux/amd64
|
- linux/amd64
|
||||||
- linux/386
|
- linux/386
|
||||||
@ -118,9 +123,11 @@ kos:
|
|||||||
- "{{ .Major }}"
|
- "{{ .Major }}"
|
||||||
- "sha-{{ .ShortCommit }}"
|
- "sha-{{ .ShortCommit }}"
|
||||||
- "{{ if not .Prerelease }}stable{{ end }}"
|
- "{{ if not .Prerelease }}stable{{ end }}"
|
||||||
|
- "{{ if not .Prerelease }}stable{{ else }}unstable{{ end }}"
|
||||||
|
|
||||||
- id: ghcr-debug
|
- id: ghcr-debug
|
||||||
repository: ghcr.io/juanfont/headscale
|
repository: ghcr.io/juanfont/headscale
|
||||||
|
bare: true
|
||||||
base_image: "debian:12"
|
base_image: "debian:12"
|
||||||
build: headscale
|
build: headscale
|
||||||
main: ./cmd/headscale
|
main: ./cmd/headscale
|
||||||
@ -138,12 +145,13 @@ kos:
|
|||||||
- "{{ .Major }}.{{ .Minor }}-debug"
|
- "{{ .Major }}.{{ .Minor }}-debug"
|
||||||
- "{{ .Major }}-debug"
|
- "{{ .Major }}-debug"
|
||||||
- "sha-{{ .ShortCommit }}-debug"
|
- "sha-{{ .ShortCommit }}-debug"
|
||||||
- "{{ if not .Prerelease }}stable{{ end }}-debug"
|
- "{{ if not .Prerelease }}stable{{ else }}unstable{{ end }}-debug"
|
||||||
|
|
||||||
- id: dockerhub-debug
|
- id: dockerhub-debug
|
||||||
build: headscale
|
build: headscale
|
||||||
base_image: "debian:12"
|
base_image: "debian:12"
|
||||||
repository: headscale/headscale
|
repository: headscale/headscale
|
||||||
|
bare: true
|
||||||
platforms:
|
platforms:
|
||||||
- linux/amd64
|
- linux/amd64
|
||||||
- linux/386
|
- linux/386
|
||||||
@ -156,7 +164,7 @@ kos:
|
|||||||
- "{{ .Major }}.{{ .Minor }}-debug"
|
- "{{ .Major }}.{{ .Minor }}-debug"
|
||||||
- "{{ .Major }}-debug"
|
- "{{ .Major }}-debug"
|
||||||
- "sha-{{ .ShortCommit }}-debug"
|
- "sha-{{ .ShortCommit }}-debug"
|
||||||
- "{{ if not .Prerelease }}stable{{ end }}-debug"
|
- "{{ if not .Prerelease }}stable{{ else }}unstable{{ end }}-debug"
|
||||||
|
|
||||||
checksum:
|
checksum:
|
||||||
name_template: "checksums.txt"
|
name_template: "checksums.txt"
|
||||||
|
Loading…
Reference in New Issue
Block a user