Skip to content

Commit

Permalink
build debug images based on debian
Browse files Browse the repository at this point in the history
Signed-off-by: Kristoffer Dalby <kristoffer@dalby.cc>
  • Loading branch information
kradalby committed Feb 10, 2024
1 parent d3ca64a commit 67a1d07
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,45 @@ kos:
- "sha-{{ .ShortCommit }}"
- "{{ if not .Prerelease }}stable{{ end }}"

- id: ghcr-debug
repository: ghcr.io/juanfont/headscale
base_image: "debian:12"
build: headscale
main: ./cmd/headscale
env:
- CGO_ENABLED=0
platforms:
- linux/amd64
- linux/386
- linux/arm64
- linux/arm/v7
tags:
- latest
- "{{ .Tag }}-debug"
- "{{ .Major }}.{{ .Minor }}.{{ .Patch }}-debug"
- "{{ .Major }}.{{ .Minor }}-debug"
- "{{ .Major }}-debug"
- "sha-{{ .ShortCommit }}-debug"
- "{{ if not .Prerelease }}stable{{ end }}-debug"

- id: dockerhub-debug
build: headscale
base_image: "debian:12"
repository: headscale/headscale
platforms:
- linux/amd64
- linux/386
- linux/arm64
- linux/arm/v7
tags:
- latest
- "{{ .Tag }}-debug"
- "{{ .Major }}.{{ .Minor }}.{{ .Patch }}-debug"
- "{{ .Major }}.{{ .Minor }}-debug"
- "{{ .Major }}-debug"
- "sha-{{ .ShortCommit }}-debug"
- "{{ if not .Prerelease }}stable{{ end }}-debug"

checksum:
name_template: "checksums.txt"
snapshot:
Expand Down

0 comments on commit 67a1d07

Please sign in to comment.