https://github.com/drone-plugins/drone-manifest
Drone plugin to push Docker manifests
https://github.com/drone-plugins/drone-manifest
drone drone-plugin
Last synced: 4 months ago
JSON representation
Drone plugin to push Docker manifests
- Host: GitHub
- URL: https://github.com/drone-plugins/drone-manifest
- Owner: drone-plugins
- License: apache-2.0
- Created: 2017-12-23T16:02:13.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2025-05-09T15:59:49.000Z (about 1 year ago)
- Last Synced: 2025-08-15T02:21:49.401Z (10 months ago)
- Topics: drone, drone-plugin
- Language: Go
- Homepage: http://plugins.drone.io/drone-plugins/drone-manifest
- Size: 266 KB
- Stars: 17
- Watchers: 4
- Forks: 8
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# drone-manifest
[](http://harness.drone.io/drone-plugins/drone-manifest)
[](https://join.slack.com/t/harnesscommunity/shared_invite/zt-y4hdqh7p-RVuEQyIl5Hcx4Ck8VCvzBw)
[](https://community.harness.io)
[](https://stackoverflow.com/questions/tagged/drone.io)
[](http://godoc.org/github.com/drone-plugins/drone-manifest)
[](https://goreportcard.com/report/github.com/drone-plugins/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](http://plugins.drone.io/drone-plugins/drone-manifest/).
## Build
Build the binary with the following command:
```console
export GOOS=linux
export GOARCH=amd64
export CGO_ENABLED=0
go build -v -a -tags netgo -o release/linux/amd64/drone-manifest
```
## Docker
Build the Docker image with the following command:
```console
docker build \
--label org.label-schema.build-date=$(date -u +"%Y-%m-%dT%H:%M:%SZ") \
--label org.label-schema.vcs-ref=$(git rev-parse --short HEAD) \
--file docker/Dockerfile.linux.amd64 --tag plugins/manifest .
```
## Usage
```console
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
```