2023-11-13 10:31:34 +01:00
|
|
|
---
|
2024-01-24 20:01:47 +01:00
|
|
|
depends_on:
|
|
|
|
- lint
|
2023-11-13 10:31:34 +01:00
|
|
|
|
2024-02-02 21:57:33 +01:00
|
|
|
variables: # https://woodpecker-ci.org/docs/usage/advanced-usage
|
|
|
|
- &VERSION 'v1.0.${CI_PIPELINE_NUMBER}' # wird für die Docker-Tags verwendet
|
|
|
|
|
|
|
|
steps:
|
2023-11-13 10:31:34 +01:00
|
|
|
selfhosted_push:
|
2024-02-07 15:12:40 +01:00
|
|
|
image: "woodpeckerci/plugin-docker-buildx:3.0.1"
|
2023-11-13 10:31:34 +01:00
|
|
|
settings:
|
|
|
|
dockerfile: Dockerfile
|
2023-11-13 10:33:10 +01:00
|
|
|
repo: registry.mgrote.net/mkdocs
|
2023-11-13 10:31:34 +01:00
|
|
|
registry: registry.mgrote.net
|
|
|
|
tags:
|
2024-02-02 21:57:33 +01:00
|
|
|
- *VERSION
|
2023-11-13 10:31:34 +01:00
|
|
|
- ${CI_COMMIT_SHA:0:8}
|
|
|
|
- ${CI_COMMIT_BRANCH}
|
|
|
|
- latest
|
2024-02-06 20:15:48 +01:00
|
|
|
when:
|
|
|
|
- evaluate: 'CI_COMMIT_AUTHOR_EMAIL != "renovate@mgrote.net"'
|
2024-02-06 20:21:10 +01:00
|
|
|
...
|