From 67a1d0755ec1f89f7f602f10ef7e74930c54c032 Mon Sep 17 00:00:00 2001 From: Kristoffer Dalby Date: Sat, 10 Feb 2024 17:49:38 +0100 Subject: [PATCH] build debug images based on debian Signed-off-by: Kristoffer Dalby --- .goreleaser.yml | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/.goreleaser.yml b/.goreleaser.yml index 0ba94543f8..885ba3b976 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -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: