Compare commits

...

3 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
Kristoffer Dalby
9cedc2942b verbose and test
Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
2024-02-03 16:34:13 +01:00
3 changed files with 12 additions and 5 deletions

View File

@@ -20,6 +20,6 @@ jobs:
- uses: DeterminateSystems/magic-nix-cache-action@main - uses: DeterminateSystems/magic-nix-cache-action@main
- name: Run goreleaser - name: Run goreleaser
run: nix develop --command -- goreleaser release --clean run: nix develop --command -- goreleaser release --clean --verbose
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

View File

@@ -9,7 +9,7 @@ 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
@@ -81,9 +81,12 @@ 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
@@ -94,8 +97,11 @@ kos:
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>