mirror of
https://github.com/drone-plugins/drone-manifest.git
synced 2026-06-04 18:24:08 +08:00
9db5d7d3b336d5fd3b2b3356c2cf247210f11c8b
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
drone-manifest
Drone plugin to push Docker manifest to a registry for multi-architecture mappings. For the usage information and a listing of the available options please take a look at the docs.
Build
Build the binary with the following commands:
go build
Docker
Build the Docker image with the following commands:
GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -a -tags netgo -o release/linux/amd64/drone-manifest
docker build --rm -t plugins/manifest .
Usage
docker run --rm \
-e PLUGIN_PLATFORMS=linux/amd64,linux/arm,linux/arm64 \
-e PLUGIN_TEMPLATE=organization/project-ARCH:1.0.0 \
-e PLUGIN_TARGET=organization/project:1.0.0 \
-v $(pwd):$(pwd) \
-w $(pwd) \
plugins/manifest
Description
Languages
Go
100%