Fix deprecated options in GoReleaser config (#1063)

* Fix deprecated goreleaser options

* Fix Docker COPY paths for goreleaser dockers_v2 platform layout

* Moved ARG definitions, smaller comment

* Update GoReleaser version to `v2.17.0`

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: Enrico Candino <enrico.candino@suse.com>
This commit is contained in:
Copilot
2026-07-23 21:22:02 +02:00
committed by GitHub
co-authored by lnx01 Enrico Candino
parent ee8c16bdd2
commit 28bbecb7ee
6 changed files with 58 additions and 85 deletions
+8 -4
View File
@@ -1,9 +1,13 @@
FROM registry.suse.com/bci/bci-base:16.1
ARG BIN_K3K=bin/k3k
ARG BIN_K3KCLI=bin/k3kcli
ARG BIN_K3K=k3k
ARG BIN_K3KCLI=k3kcli
COPY ${BIN_K3K} /usr/bin/
COPY ${BIN_K3KCLI} /usr/bin/
# BIN_DIR defaults to the buildx per-platform dir; override (e.g. BIN_DIR=bin) for flat layouts.
ARG TARGETPLATFORM
ARG BIN_DIR=${TARGETPLATFORM}
COPY ${BIN_DIR}/${BIN_K3K} /usr/bin/
COPY ${BIN_DIR}/${BIN_K3KCLI} /usr/bin/
CMD ["k3k"]
+6 -3
View File
@@ -1,8 +1,11 @@
# TODO: swicth this to BCI-micro or scratch. Left as base right now so that debug can be done a bit easier
FROM registry.suse.com/bci/bci-base:16.1
ARG BIN_K3K_KUBELET=bin/k3k-kubelet
ARG BIN_K3K_KUBELET=k3k-kubelet
COPY ${BIN_K3K_KUBELET} /usr/bin/
# BIN_DIR defaults to the buildx per-platform dir; override (e.g. BIN_DIR=bin) for flat layouts.
ARG TARGETPLATFORM
ARG BIN_DIR=${TARGETPLATFORM}
COPY ${BIN_DIR}/${BIN_K3K_KUBELET} /usr/bin/
ENTRYPOINT ["/usr/bin/k3k-kubelet"]