Skip to content

Commit

Permalink
with bare
Browse files Browse the repository at this point in the history
Signed-off-by: Kristoffer Dalby <[email protected]>
  • Loading branch information
kradalby committed Feb 15, 2024
1 parent f3fca3f commit 7aa0249
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,10 @@ nfpms:
kos:
- id: ghcr
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
build: headscale
main: ./cmd/headscale
Expand All @@ -105,6 +109,7 @@ kos:
build: headscale
base_image: gcr.io/distroless/base-debian12
repository: kradalby
bare: true
platforms:
- linux/amd64
- linux/386
Expand All @@ -121,8 +126,9 @@ kos:

- id: ghcr-debug
repository: ghcr.io/kradalby/headscale
bare: true
base_image: "debian:12"
build: headscale
build: kradalby/headscale
main: ./cmd/headscale
env:
- CGO_ENABLED=0
Expand All @@ -140,9 +146,10 @@ kos:
- "sha-{{ .ShortCommit }}-debug"

- id: dockerhub-debug
build: headscale
build: kradalby/headscale
base_image: "debian:12"
repository: kradalby
bare: true
platforms:
- linux/amd64
- linux/386
Expand Down

0 comments on commit 7aa0249

Please sign in to comment.