debshots/.woodpecker.yml
Christoph Haas 6012898d9b
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ffs
2026-02-07 13:04:02 +01:00

26 lines
901 B
YAML

steps:
- name: create-versioninfo
image: alpine
commands:
- 'echo "Commit SHA: ${CI_COMMIT_SHA:0:7}" > public/versioninfo'
- 'echo "Build Date: $(date -u +"%Y-%m-%d %H:%M:%S")" >> public/versioninfo'
- name: build-image
# This plugin handles the DinD complexity for you
image: woodpeckerci/plugin-docker-buildx
privileged: true # Required for the plugin to start its internal Docker engine
settings:
registry: registry.coolify1.workaround.org
repo: registry.coolify1.workaround.org/debshots
driver: docker
cache_from: registry.coolify1.workaround.org/debshots:buildcache
cache_to: registry.coolify1.workaround.org/debshots:buildcache
dockerfile: Dockerfile
username:
from_secret: REGISTRY_USER
password:
from_secret: REGISTRY_PASSWORD
tags:
- latest
- ${CI_COMMIT_SHA:0:7}