container-tools/.woodpecker/build.yaml
Vojtěch Mareš bca65286e6
Some checks failed
ci/woodpecker/push/build Pipeline failed
ci/woodpecker/push/lint Pipeline was successful
ci(build.yaml): fix escaping of woodpacker variable and string operations
Signed-off-by: Vojtěch Mareš <vojtech@mares.cz>
2025-09-08 19:04:54 +02:00

23 lines
577 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"
steps:
build:
image: *buildx-plugin
settings:
repo: *repo
platforms: *platforms
tag: ${CI_COMMIT_REF/ref\/heads\//}-${CI_COMMIT_SHA:0:8}
logins:
- registry: https://registry.mareshq.com
username:
from_secret: registry_username
password:
from_secret: registry_password
when:
event: push