mirror of
https://github.com/juanfont/headscale.git
synced 2025-08-17 02:57:34 +00:00
Compare commits
6 Commits
v0.23.0-al
...
v0.23.0-al
Author | SHA1 | Date | |
---|---|---|---|
![]() |
86768c8ac4 | ||
![]() |
88af29d5f5 | ||
![]() |
9cedc2942b | ||
![]() |
062b9a5611 | ||
![]() |
887302e8f1 | ||
![]() |
b1b90d165d |
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,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
|
||||||
@@ -63,7 +63,6 @@ nfpms:
|
|||||||
bindir: /usr/bin
|
bindir: /usr/bin
|
||||||
formats:
|
formats:
|
||||||
- deb
|
- deb
|
||||||
# - rpm
|
|
||||||
contents:
|
contents:
|
||||||
- src: ./config-example.yaml
|
- src: ./config-example.yaml
|
||||||
dst: /etc/headscale/config.yaml
|
dst: /etc/headscale/config.yaml
|
||||||
@@ -80,6 +79,44 @@ nfpms:
|
|||||||
postinstall: ./docs/packaging/postinstall.sh
|
postinstall: ./docs/packaging/postinstall.sh
|
||||||
postremove: ./docs/packaging/postremove.sh
|
postremove: ./docs/packaging/postremove.sh
|
||||||
|
|
||||||
|
kos:
|
||||||
|
- id: ghcr
|
||||||
|
repository: ghcr.io/kradalby/headscale
|
||||||
|
base_image: gcr.io/distroless/base-debian11
|
||||||
|
build: headscale
|
||||||
|
main: ./cmd/headscale
|
||||||
|
env:
|
||||||
|
- CGO_ENABLED=0
|
||||||
|
platforms:
|
||||||
|
- linux/amd64
|
||||||
|
- 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 }}'
|
||||||
|
|
||||||
|
# - id: dockerhub
|
||||||
|
# build: headscale
|
||||||
|
# base_image: gcr.io/distroless/base-debian11
|
||||||
|
# repository: headscale/headscale
|
||||||
|
# platforms:
|
||||||
|
# - linux/amd64
|
||||||
|
# - linux/386
|
||||||
|
# - linux/arm64
|
||||||
|
# - linux/arm/v7
|
||||||
|
# - linux/arm/v6
|
||||||
|
# - linux/arm/v5
|
||||||
|
# tags:
|
||||||
|
# - latest
|
||||||
|
# - '{{.Tag}}'
|
||||||
|
|
||||||
checksum:
|
checksum:
|
||||||
name_template: "checksums.txt"
|
name_template: "checksums.txt"
|
||||||
snapshot:
|
snapshot:
|
||||||
|
@@ -1,4 +1,7 @@
|
|||||||
# Builder image
|
# This Dockerfile and the images produced are for testing headscale,
|
||||||
|
# and are in no way endorsed by Headscale's maintainers as an
|
||||||
|
# official nor supported release or distribution.
|
||||||
|
|
||||||
FROM docker.io/golang:1.21-bookworm AS build
|
FROM docker.io/golang:1.21-bookworm AS build
|
||||||
ARG VERSION=dev
|
ARG VERSION=dev
|
||||||
ENV GOPATH /go
|
ENV GOPATH /go
|
||||||
|
@@ -1,4 +1,7 @@
|
|||||||
# Builder image
|
# This Dockerfile and the images produced are for testing headscale,
|
||||||
|
# and are in no way endorsed by Headscale's maintainers as an
|
||||||
|
# official nor supported release or distribution.
|
||||||
|
|
||||||
FROM docker.io/golang:1.21-bookworm AS build
|
FROM docker.io/golang:1.21-bookworm AS build
|
||||||
ARG VERSION=dev
|
ARG VERSION=dev
|
||||||
ENV GOPATH /go
|
ENV GOPATH /go
|
||||||
|
@@ -1,3 +1,7 @@
|
|||||||
|
# This Dockerfile and the images produced are for testing headscale,
|
||||||
|
# and are in no way endorsed by Headscale's maintainers as an
|
||||||
|
# official nor supported release or distribution.
|
||||||
|
|
||||||
FROM golang:latest
|
FROM golang:latest
|
||||||
|
|
||||||
RUN apt-get update \
|
RUN apt-get update \
|
||||||
|
Reference in New Issue
Block a user