[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
+1 -1
View File
@@ -10,7 +10,7 @@ on:
env: env:
SIGN_PIPE_VER: "v0.1.5" SIGN_PIPE_VER: "v0.1.5"
GORELEASER_VER: "v2.14.3" GORELEASER_VER: "v2.16.0"
PRODUCT_NAME: "NetBird" PRODUCT_NAME: "NetBird"
COPYRIGHT: "NetBird GmbH" COPYRIGHT: "NetBird GmbH"
+5 -3
View File
@@ -1,7 +1,7 @@
version: 2 version: 2
env: env:
- SKIP_PUBLISH={{ if index .Env "SKIP_PUBLISH" }}{{ .Env.SKIP_PUBLISH }}{{ else }}true{{ end }} - 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 project_name: netbird
builds: builds:
- id: netbird-wasm - id: netbird-wasm
@@ -256,8 +256,10 @@ dockers_v2:
- ghcr.io/netbirdio/netbird - ghcr.io/netbirdio/netbird
tags: tags:
- "v{{ .Version }}-rootless" - "v{{ .Version }}-rootless"
- "{{ if not .IsNightly }}latest-rootless{{ end }}" - "{{ if eq .Env.SKIP_PUBLISH \"false\" }}latest{{ end }}"
dockerfile: client/Dockerfile-rootless dockerfile: client/Dockerfile-rootless
extra_files:
- client/netbird-entrypoint.sh
platforms: platforms:
- linux/amd64 - linux/amd64
- linux/arm64 - linux/arm64
@@ -345,7 +347,7 @@ dockers_v2:
tags: tags:
- "v{{ .Version }}" - "v{{ .Version }}"
- "{{ if eq .Env.SKIP_PUBLISH \"false\" }}latest{{ end }}" - "{{ if eq .Env.SKIP_PUBLISH \"false\" }}latest{{ end }}"
dockerfile: upload/Dockerfile dockerfile: upload-server/Dockerfile
platforms: platforms:
- linux/amd64 - linux/amd64
- linux/arm64 - linux/arm64