allzweckcontainer/.woodpecker/build.yml

23 lines
571 B
YAML
Raw Normal View History

2022-08-06 11:07:52 +02:00
---
2023-11-03 19:10:12 +01:00
depends_on:
- lint
variables: # https://woodpecker-ci.org/docs/usage/advanced-usage
- &VERSION 'v1.0.${CI_PIPELINE_NUMBER}' # wird für die Docker-Tags verwendet
2022-08-06 11:07:52 +02:00
steps:
2023-11-03 19:15:53 +01:00
selfhosted_push:
2024-02-07 15:15:09 +01:00
image: "woodpeckerci/plugin-docker-buildx:3.0.1"
2023-11-03 19:13:36 +01:00
settings:
dockerfile: Dockerfile
2024-01-11 10:50:18 +01:00
repo: registry.mgrote.net/allzweckcontainer
2023-11-03 19:13:36 +01:00
registry: registry.mgrote.net
tags:
- *VERSION
2023-11-03 19:15:16 +01:00
- ${CI_COMMIT_SHA:0:8}
- ${CI_COMMIT_BRANCH}
2023-11-03 19:13:36 +01:00
- latest
when:
2024-02-06 20:17:41 +01:00
- evaluate: 'CI_COMMIT_AUTHOR_EMAIL != "renovate@mgrote.net"'
2024-02-06 20:19:47 +01:00
...