fix(Dockerfile): respect target platform
All checks were successful
Lint Golang files / Run golang CI linter (stable, ubuntu-latest-amd64) (push) Successful in 16s
Run Golang tests / Run unit tests (stable, ubuntu-latest-amd64) (push) Successful in 11s
Lint Golang files / Run golang CI linter (stable, ubuntu-latest-arm64) (push) Successful in 32s
Lint Markdown files / Run markdown linter (push) Successful in 5s
Run Golang tests / Run unit tests (stable, ubuntu-latest-arm64) (push) Successful in 24s
Release / Release application (push) Successful in 4m19s
Release / Upload Images to docker.io (push) Successful in 1m2s

This commit is contained in:
2026-01-31 23:13:20 +01:00
parent df8b3b4a8b
commit 02ae924b02
2 changed files with 3 additions and 4 deletions

View File

@@ -1,5 +1,4 @@
FROM scratch AS build
COPY dcmerge-* /usr/bin/dcmerge
ARG TARGETPLATFORM
COPY "${TARGETPLATFORM}/dcmerge" "/usr/bin/dcmerge"
ENTRYPOINT [ "/usr/bin/dcmerge" ]