Compare commits

...

2 Commits

Author SHA1 Message Date
Kristoffer Dalby
86768c8ac4 take 3
Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
2024-02-03 17:00:36 +01:00
Kristoffer Dalby
88af29d5f5 derp
Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
2024-02-03 16:55:35 +01:00
2 changed files with 24 additions and 17 deletions

View File

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

View File

@@ -95,6 +95,7 @@
gotestsum gotestsum
gotests gotests
ksh ksh
ko
# 'dot' is needed for pprof graphs # 'dot' is needed for pprof graphs
# go tool pprof -http=: <source> # go tool pprof -http=: <source>