You've already forked dcmerge
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
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:
@@ -145,7 +145,7 @@ nfpms:
|
||||
description: |-
|
||||
dcmerge is a tool to merge docker-compose files from multiple resources.
|
||||
It supports merging local files and remote files via HTTP/HTTPS.
|
||||
license: Apache 2.0
|
||||
license: MIT
|
||||
formats:
|
||||
- deb
|
||||
- rpm
|
||||
|
||||
@@ -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" ]
|
||||
Reference in New Issue
Block a user