mkdocs/.woodpecker/build.yml

20 lines
478 B
YAML
Raw Normal View History

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
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:
image: "woodpeckerci/plugin-docker-buildx:3.0.0"
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:
- *VERSION
2023-11-13 10:31:34 +01:00
- ${CI_COMMIT_SHA:0:8}
- ${CI_COMMIT_BRANCH}
- latest