https://github.com/owncloud-ci/drone-docker-buildx
Drone plugin to build multiarch Docker images with buildx
https://github.com/owncloud-ci/drone-docker-buildx
drone drone-plugin
Last synced: 6 months ago
JSON representation
Drone plugin to build multiarch Docker images with buildx
- Host: GitHub
- URL: https://github.com/owncloud-ci/drone-docker-buildx
- Owner: owncloud-ci
- License: apache-2.0
- Created: 2023-10-30T09:15:13.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2026-01-10T05:12:56.000Z (6 months ago)
- Last Synced: 2026-01-10T23:16:15.434Z (6 months ago)
- Topics: drone, drone-plugin
- Language: Go
- Homepage: https://hub.docker.com/r/owncloudci/drone-docker-buildx
- Size: 902 KB
- Stars: 2
- Watchers: 0
- Forks: 0
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# drone-docker-buildx
[](https://drone.owncloud.com/owncloud-ci/drone-docker-buildx)
[](https://hub.docker.com/r/owncloudci/drone-docker-buildx)
[](https://github.com/owncloud-ci/drone-docker-buildx/graphs/contributors)
[](https://github.com/owncloud-ci/drone-docker-buildx)
[](https://github.com/owncloud-ci/drone-docker-buildx/blob/main/LICENSE)
Drone plugin to build multiarch Docker images with buildx. This plugin is a fork of [drone-plugins/drone-docker](https://github.com/drone-plugins/drone-docker).
## Usage
> **IMPORTANT:** Be aware that the this plugin requires [privileged](https://docs.drone.io/pipeline/docker/syntax/steps/#privileged-mode) capabilities, otherwise the integrated Docker daemon is not able to start.
```yaml
kind: pipeline
type: docker
name: default
steps:
- name: docker
image: owncloudci/drone-docker-buildx
privileged: true
settings:
username: octocat
password: secure
repo: octocat/example
tags: latest
```
## Build
Build the binary with the following command:
```console
make build
```
Build the Docker image with the following command:
```console
docker build --file Dockerfile.multiarch --tag owncloudci/drone-docker-buildx .
```
## Test
```console
docker run --rm \
-e PLUGIN_TAG=latest \
-e PLUGIN_REPO=octocat/hello-world \
-e DRONE_COMMIT_SHA=00000000 \
-v $(pwd):$(pwd) \
-w $(pwd) \
--privileged \
owncloudci/drone-docker-buildx --dry-run
```
## Releases
Create and push the new tag to trigger the CI release process:
```console
git tag v2.10.3
git push origin v2.10.3
```
## License
This project is licensed under the Apache 2.0 License - see the [LICENSE](https://github.com/owncloud-ci/drone-docker-buildx/blob/main/LICENSE) file for details.
## Copyright
```text
Copyright (c) 2022 ownCloud GmbH
```