with bare

Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
This commit is contained in:
Kristoffer Dalby 2024-02-15 09:50:41 +01:00
parent f3fca3f417
commit 7aa0249877
No known key found for this signature in database

View File

@ -82,6 +82,10 @@ nfpms:
kos: kos:
- id: ghcr - id: ghcr
repository: ghcr.io/kradalby/headscale repository: ghcr.io/kradalby/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
@ -105,6 +109,7 @@ kos:
build: headscale build: headscale
base_image: gcr.io/distroless/base-debian12 base_image: gcr.io/distroless/base-debian12
repository: kradalby repository: kradalby
bare: true
platforms: platforms:
- linux/amd64 - linux/amd64
- linux/386 - linux/386
@ -121,8 +126,9 @@ kos:
- id: ghcr-debug - id: ghcr-debug
repository: ghcr.io/kradalby/headscale repository: ghcr.io/kradalby/headscale
bare: true
base_image: "debian:12" base_image: "debian:12"
build: headscale build: kradalby/headscale
main: ./cmd/headscale main: ./cmd/headscale
env: env:
- CGO_ENABLED=0 - CGO_ENABLED=0
@ -140,9 +146,10 @@ kos:
- "sha-{{ .ShortCommit }}-debug" - "sha-{{ .ShortCommit }}-debug"
- id: dockerhub-debug - id: dockerhub-debug
build: headscale build: kradalby/headscale
base_image: "debian:12" base_image: "debian:12"
repository: kradalby repository: kradalby
bare: true
platforms: platforms:
- linux/amd64 - linux/amd64
- linux/386 - linux/386