[release] update GoReleaser and refine docker configurations

- Bump GoReleaser to v2.16.0
- Fix SKIP_DOCKER_PUSH environment variable handling
- Adjust rootless docker tag logic
- Update dockerfile path for upload server
- Add extra files to the rootless client build
This commit is contained in:
mlsmaycon
2026-06-16 07:28:33 +02:00
parent 681a31b925
commit 2d16e4a3ec
2 changed files with 6 additions and 4 deletions

View File

@@ -10,7 +10,7 @@ on:
env:
SIGN_PIPE_VER: "v0.1.5"
GORELEASER_VER: "v2.14.3"
GORELEASER_VER: "v2.16.0"
PRODUCT_NAME: "NetBird"
COPYRIGHT: "NetBird GmbH"

View File

@@ -1,7 +1,7 @@
version: 2
env:
- SKIP_PUBLISH={{ if index .Env "SKIP_PUBLISH" }}{{ .Env.SKIP_PUBLISH }}{{ else }}true{{ end }}
- SKIP_DOCKER_PUSH={{ if index .Env "SKIP_DOCKER_PUSH" }}{{ .Env.SKIP_PUBLISH }}{{ else }}false{{ end }}
- SKIP_DOCKER_PUSH={{ if index .Env "SKIP_DOCKER_PUSH" }}{{ .Env.SKIP_DOCKER_PUSH }}{{ else }}false{{ end }}
project_name: netbird
builds:
- id: netbird-wasm
@@ -256,8 +256,10 @@ dockers_v2:
- ghcr.io/netbirdio/netbird
tags:
- "v{{ .Version }}-rootless"
- "{{ if not .IsNightly }}latest-rootless{{ end }}"
- "{{ if eq .Env.SKIP_PUBLISH \"false\" }}latest{{ end }}"
dockerfile: client/Dockerfile-rootless
extra_files:
- client/netbird-entrypoint.sh
platforms:
- linux/amd64
- linux/arm64
@@ -345,7 +347,7 @@ dockers_v2:
tags:
- "v{{ .Version }}"
- "{{ if eq .Env.SKIP_PUBLISH \"false\" }}latest{{ end }}"
dockerfile: upload/Dockerfile
dockerfile: upload-server/Dockerfile
platforms:
- linux/amd64
- linux/arm64