dnsmasq-docker/.drone.yml

46 lines
888 B
YAML

kind: pipeline
name: build+push
type: docker
trigger:
include:
- push
- cron
branch:
- main
steps:
- name: docker-build-hub
image: thegeeklab/drone-docker-buildx
privileged: true
settings:
username: derekpaschal
password:
from_secret: dockerhub_repo_pass
repo: derekpaschal/dnsmasq
tags:
- latest
pull_image: true
platforms:
- linux/amd64
- linux/arm64
- linux/arm/v7
no_cache: true
- name: docker-build-local-reg
image: thegeeklab/drone-docker-buildx
privileged: true
settings:
username: derekpaschal
password:
from_secret: local_container_repo_pass
repo: derekpaschal/dnsmasq
tags:
- latest
pull_image: true
platforms:
- linux/amd64
- linux/arm64
- linux/arm/v7
no_cache: true