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: |-
|
description: |-
|
||||||
dcmerge is a tool to merge docker-compose files from multiple resources.
|
dcmerge is a tool to merge docker-compose files from multiple resources.
|
||||||
It supports merging local files and remote files via HTTP/HTTPS.
|
It supports merging local files and remote files via HTTP/HTTPS.
|
||||||
license: Apache 2.0
|
license: MIT
|
||||||
formats:
|
formats:
|
||||||
- deb
|
- deb
|
||||||
- rpm
|
- rpm
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
FROM scratch AS build
|
FROM scratch AS build
|
||||||
|
ARG TARGETPLATFORM
|
||||||
COPY dcmerge-* /usr/bin/dcmerge
|
COPY "${TARGETPLATFORM}/dcmerge" "/usr/bin/dcmerge"
|
||||||
|
|
||||||
ENTRYPOINT [ "/usr/bin/dcmerge" ]
|
ENTRYPOINT [ "/usr/bin/dcmerge" ]
|
||||||
Reference in New Issue
Block a user