2023-11-03 19:23:41 +01:00
|
|
|
---
|
|
|
|
depends_on:
|
|
|
|
- lint
|
|
|
|
|
2024-02-02 22:01:32 +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-03 19:23:41 +01:00
|
|
|
selfhosted_push:
|
2024-02-07 15:12:52 +01:00
|
|
|
image: "woodpeckerci/plugin-docker-buildx:3.0.1"
|
2023-11-03 19:23:41 +01:00
|
|
|
settings:
|
|
|
|
dockerfile: Dockerfile
|
|
|
|
repo: registry.mgrote.net/nextcloud-cronjob
|
|
|
|
registry: registry.mgrote.net
|
|
|
|
tags:
|
2024-02-02 22:01:32 +01:00
|
|
|
- *VERSION
|
2023-11-03 19:23:41 +01:00
|
|
|
- ${CI_COMMIT_SHA:0:8}
|
|
|
|
- ${CI_COMMIT_BRANCH}
|
|
|
|
- latest
|
2024-02-06 20:16:41 +01:00
|
|
|
when:
|
|
|
|
- evaluate: 'CI_COMMIT_AUTHOR_EMAIL != "renovate@mgrote.net"'
|
2024-02-06 20:21:04 +01:00
|
|
|
...
|