allzweckcontainer/.woodpecker/build.yml
2024-02-07 20:53:54 +01:00

19 lines
549 B
YAML

---
variables: # https://woodpecker-ci.org/docs/usage/advanced-usage
- &VERSION 'v1.0.${CI_PIPELINE_NUMBER}' # wird für die Docker-Tags verwendet
steps:
selfhosted_push:
image: "woodpeckerci/plugin-docker-buildx:3.1.0"
settings:
dockerfile: Dockerfile
repo: registry.mgrote.net/allzweckcontainer
registry: registry.mgrote.net
tags:
- *VERSION
- ${CI_COMMIT_SHA:0:8}
- ${CI_COMMIT_BRANCH}
- latest
when:
- evaluate: 'CI_COMMIT_AUTHOR_EMAIL != "renovate@mgrote.net"'
...