From c5b3b3918d44724ffa8d8c167336ded2bf0257f3 Mon Sep 17 00:00:00 2001 From: Derek Paschal Date: Mon, 19 Jun 2023 22:58:33 -0500 Subject: [PATCH] Updating build pipeline to also build to local container registry as well as dockerhub --- .drone.yml | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index 8962f99..2ce379b 100644 --- a/.drone.yml +++ b/.drone.yml @@ -10,7 +10,7 @@ trigger: - main steps: - - name: docker-build + - name: docker-build-hub image: thegeeklab/drone-docker-buildx privileged: true settings: @@ -25,4 +25,21 @@ steps: - linux/amd64 - linux/arm64 - linux/arm/v7 - no_cache: true \ No newline at end of file + 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