From cf60323df46064bee9f64ed1acf671747f44f530 Mon Sep 17 00:00:00 2001 From: Eric Rakestraw Date: Sun, 1 Feb 2026 20:43:07 -0600 Subject: [PATCH] Updated the Dockerfile to use our internal Harbor proxy cache, and added Woodpecker pipeline support. --- .woodpecker/build-image.yml | 17 +++++++++++++++++ Dockerfile | 2 +- 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 .woodpecker/build-image.yml diff --git a/.woodpecker/build-image.yml b/.woodpecker/build-image.yml new file mode 100644 index 0000000..14a9bfc --- /dev/null +++ b/.woodpecker/build-image.yml @@ -0,0 +1,17 @@ +when: + # Allow both normal runs (push) and UI-triggered runs (manual) + - event: [push, manual] + +steps: + - name: build-and-push-image + image: harbor.maximumdirect.net/proxy-dockerhub/woodpeckerci/plugin-kaniko + settings: + registry: harbor.maximumdirect.net + repo: build/openldap + auto_tag: true + username: + from_secret: HARBOR_ROBOT_USER + password: + from_secret: HARBOR_ROBOT_TOKEN + cache: true + cache_repo: build-cache/openldap diff --git a/Dockerfile b/Dockerfile index e55ca06..1d9e10b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Pull base image from authorized source -FROM ubuntu:24.04 +FROM harbor.maximumdirect.net/proxy-dockerhub/ubuntu:24.04 LABEL description="OpenLDAP" \ maintainer="Eric Rakestraw " \