container-tools/.woodpecker/build.yaml
Vojtěch Mareš 5193684bd7
feat: initial commit
Signed-off-by: Vojtěch Mareš <vojtech@mares.cz>
2025-09-08 19:02:44 +02:00

24 lines
605 B
YAML

when:
event: push
variables:
- &buildx-plugin "woodpeckerci/plugin-docker-buildx:6.0.2"
- &repo "registry.mareshq.com/library/container-tools"
- &platforms "linux/arm64/v8,linux/amd64"
- &image_tag "${CI_COMMIT_REF/ref\/heads\//}-${CI_COMMIT_SHA:0:8}"
steps:
build:
image: *buildx-plugin
settings:
repo: *repo
platforms: *platforms
tag: *image_tag
logins:
- registry: https://registry.mareshq.com
username:
from_secret: registry_username
password:
from_secret: registry_password
when:
event: push