mkdocs/.woodpecker/build.yml

32 lines
749 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
steps:
selfhosted_tag:
image: plugins/docker@sha256:2f157400c2cb7de1b309b0f044f119375108218e54d38e1340e00b9f93abdefb
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:
- ${CI_COMMIT_TAG}
when:
event:
- tag
selfhosted_push:
image: plugins/docker@sha256:2f157400c2cb7de1b309b0f044f119375108218e54d38e1340e00b9f93abdefb
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:
- ${CI_COMMIT_SHA:0:8}
- ${CI_COMMIT_BRANCH}
- latest
when:
event:
exclude:
- pull_request
- tag