Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hggh/drone-docker-buildx
DroneCI Docker Buildx Plugin
https://github.com/hggh/drone-docker-buildx
droneci
Last synced: 1 day ago
JSON representation
DroneCI Docker Buildx Plugin
- Host: GitHub
- URL: https://github.com/hggh/drone-docker-buildx
- Owner: hggh
- License: apache-2.0
- Created: 2021-10-23T18:13:18.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2021-11-02T20:02:11.000Z (about 3 years ago)
- Last Synced: 2024-11-18T05:45:59.210Z (2 months ago)
- Topics: droneci
- Language: Go
- Homepage:
- Size: 16.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# DroneCI Docker buildx plugin
This DroneCI Plugin allows you to build multi arch docker images with DroneCI and buildx
## howto use it
```
steps:
- name: publish
image: jgescireum/buildx:latest
settings:
registry: hub.private.com
platforms:
- linux/amd64
- linux/arm64
tags:
- hub.private.com/username/test:latest
environment:
PLUGIN_EXPERIMENTAL: true
DOCKER_PASSWORD:
from_secret: docker_password
DOCKER_USERNAME:
from_secret: docker_username
when:
event:
- push
```## build
```
go build -v -a -tags netgo -o release/linux/amd64/drone-docker-buildx ./cmd/drone-docker-buildx
```## docker image
```
docker build -f docker/docker/Dockerfile.linux.amd64 -t jgescireum/buildx:latest .
docker push jgescireum/buildx:latest
```