Updated the Dockerfile to use our internal Harbor proxy cache, and added Woodpecker pipeline support.
Some checks failed
ci/woodpecker/push/build-image Pipeline failed
Some checks failed
ci/woodpecker/push/build-image Pipeline failed
This commit is contained in:
17
.woodpecker/build-image.yml
Normal file
17
.woodpecker/build-image.yml
Normal file
@@ -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
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
# Pull base image from authorized source
|
# Pull base image from authorized source
|
||||||
FROM ubuntu:24.04
|
FROM harbor.maximumdirect.net/proxy-dockerhub/ubuntu:24.04
|
||||||
|
|
||||||
LABEL description="OpenLDAP" \
|
LABEL description="OpenLDAP" \
|
||||||
maintainer="Eric Rakestraw <eric@maximumdirect.net>" \
|
maintainer="Eric Rakestraw <eric@maximumdirect.net>" \
|
||||||
|
|||||||
Reference in New Issue
Block a user