Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
This commit is contained in:
Kristoffer Dalby 2024-02-03 17:00:36 +01:00
parent 88af29d5f5
commit 86768c8ac4
No known key found for this signature in database

View File

@ -14,15 +14,15 @@ builds:
env:
- CGO_ENABLED=0
targets:
# - darwin_amd64
# - darwin_arm64
# - freebsd_amd64
# - linux_386
- darwin_amd64
- darwin_arm64
- freebsd_amd64
- linux_386
- linux_amd64
# - linux_arm64
# - linux_arm_5
# - linux_arm_6
# - linux_arm_7
- linux_arm64
- linux_arm_5
- linux_arm_6
- linux_arm_7
flags:
- -mod=readonly
ldflags:
@ -81,22 +81,23 @@ nfpms:
kos:
- id: ghcr
repository: ghcr.io/kradalby/headscale
base_image: gcr.io/distroless/base-debian11
build: headscale
main: ./cmd/headscale
base_image: gcr.io/distroless/base-debian11
repository: ghcr.io/juanfont/headscale
env:
- CGO_ENABLED=0
platforms:
- linux/amd64
# - linux/386
# - linux/arm64
# - linux/arm/v7
# - linux/arm/v6
# - linux/arm/v5
- linux/386
- linux/arm64
- linux/arm/v7
- linux/arm/v6
- linux/arm/v5
tags:
- latest
- '{{ .Tag }}'
- '{{ .Major }}.{{ .Minor }}.{{ .Patch }}'
- '{{ .Major }}.{{ .Minor }}'
- '{{ .Major }}'
- '{{ if not .Prerelease }}stable{{ end }}'