mirror of
https://github.com/juanfont/headscale.git
synced 2025-08-23 09:37:33 +00:00
Compare commits
2 Commits
v0.23.0-al
...
v0.23.0-al
Author | SHA1 | Date | |
---|---|---|---|
![]() |
88af29d5f5 | ||
![]() |
9cedc2942b |
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@@ -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 }}
|
||||||
|
@@ -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:
|
||||||
@@ -82,20 +82,25 @@ nfpms:
|
|||||||
kos:
|
kos:
|
||||||
- id: ghcr
|
- id: ghcr
|
||||||
build: headscale
|
build: headscale
|
||||||
|
main: ./cmd/headscale
|
||||||
base_image: gcr.io/distroless/base-debian11
|
base_image: gcr.io/distroless/base-debian11
|
||||||
repository: ghcr.io/juanfont/headscale
|
repository: ghcr.io/juanfont/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 }}'
|
- '{{ .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
|
||||||
|
Reference in New Issue
Block a user