Comments and lint

Signed-off-by: Kristoffer Dalby <kristoffer@dalby.cc>
This commit is contained in:
Kristoffer Dalby 2023-04-28 10:55:39 +00:00
parent 3448a96b3b
commit d3ca64acd5
No known key found for this signature in database
2 changed files with 5 additions and 7 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 --debug"
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

View File

@ -82,7 +82,7 @@ nfpms:
kos: kos:
- id: ghcr - id: ghcr
repository: ghcr.io/juanfont/headscale repository: ghcr.io/juanfont/headscale
base_image: gcr.io/distroless/base-debian11 base_image: gcr.io/distroless/base-debian12
build: headscale build: headscale
main: ./cmd/headscale main: ./cmd/headscale
env: env:
@ -92,33 +92,31 @@ kos:
- linux/386 - linux/386
- linux/arm64 - linux/arm64
- linux/arm/v7 - linux/arm/v7
- linux/arm/v6
- linux/arm/v5
tags: tags:
- latest - latest
- "{{ .Tag }}" - "{{ .Tag }}"
- "{{ .Major }}.{{ .Minor }}.{{ .Patch }}" - "{{ .Major }}.{{ .Minor }}.{{ .Patch }}"
- "{{ .Major }}.{{ .Minor }}" - "{{ .Major }}.{{ .Minor }}"
- "{{ .Major }}" - "{{ .Major }}"
- "sha-{{ .ShortCommit }}"
- "{{ if not .Prerelease }}stable{{ end }}" - "{{ 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-debian12
repository: headscale/headscale repository: headscale/headscale
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/v5
tags: tags:
- latest - latest
- "{{ .Tag }}" - "{{ .Tag }}"
- "{{ .Major }}.{{ .Minor }}.{{ .Patch }}" - "{{ .Major }}.{{ .Minor }}.{{ .Patch }}"
- "{{ .Major }}.{{ .Minor }}" - "{{ .Major }}.{{ .Minor }}"
- "{{ .Major }}" - "{{ .Major }}"
- "sha-{{ .ShortCommit }}"
- "{{ if not .Prerelease }}stable{{ end }}" - "{{ if not .Prerelease }}stable{{ end }}"
checksum: checksum: