www-jmbit-de/.woodpecker.yml
Johannes Bülow a15db79f31
All checks were successful
ci/woodpecker/manual/woodpecker Pipeline was successful
why doesn't the when push thing work?
2025-11-21 12:24:37 +01:00

25 lines
520 B
YAML

variables:
- &file Dockerfile
- &repo git.jmbit.de/${CI_REPO_OWNER}/${CI_REPO_NAME}
steps:
hugo:
image: git.jmbit.de/jmb/docker-hugo
commands:
- hugo --minify
publish:
image: woodpeckerci/plugin-docker-buildx
settings:
dockerfile: *file
platforms: linux/arm64/v8,linux/amd64
repo: *repo
registry: git.jmbit.de
tags: latest
username: ${CI_REPO_OWNER}
password:
from_secret: forgejo_token
# when:
# branch: main
# event: push