26 lines
675 B
YAML
26 lines
675 B
YAML
---
|
|
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
|
|
|
|
steps:
|
|
docker_build_and_push_selfhosted:
|
|
image: "woodpeckerci/plugin-docker-buildx:3.0.1"
|
|
privileged: true
|
|
settings:
|
|
dockerfile: Dockerfile
|
|
repo: registry.mgrote.net/mdns-repeater-mikrotik
|
|
registry: registry.mgrote.net
|
|
tags:
|
|
- *VERSION
|
|
- ${CI_COMMIT_SHA:0:8}
|
|
- ${CI_COMMIT_BRANCH}
|
|
- latest
|
|
platforms:
|
|
- linux/arm64
|
|
- linux/amd64
|
|
when:
|
|
- evaluate: 'CI_COMMIT_AUTHOR_EMAIL != "renovate@mgrote.net"'
|
|
...
|