fix(ci): update security workflow to match goreleaser paths (#134)

* fix(ci): update security workflow to match goreleaser paths

* chore(ci): use GOOS and GOARCH in security.yml
This commit is contained in:
2026-01-02 03:30:50 +02:00
committed by GitHub
parent 253e14a37b
commit 5d671a9dc0
2 changed files with 19 additions and 2 deletions

View File

@@ -2,6 +2,9 @@
FROM scratch
# Multi-platform build support
# See: https://goreleaser.com/customization/dockers_v2/
# GoReleaser organizes binaries in platform subdirectories (linux/amd64/, linux/arm64/)
# TARGETPLATFORM arg resolves to the correct platform directory
ARG TARGETPLATFORM
# Copy the binary from the build context (platform-specific)