38 lines
776 B
YAML
38 lines
776 B
YAML
|
steps:
|
||
|
- name: docker
|
||
|
image: woodpeckerci/plugin-docker-buildx
|
||
|
privileged: true
|
||
|
settings:
|
||
|
registry: git.ar21.de
|
||
|
username:
|
||
|
from_secret: REGISTRY_USER
|
||
|
password:
|
||
|
from_secret: REGISTRY_PASS
|
||
|
repo: git.ar21.de/aaron/debian-ci
|
||
|
tags: latest
|
||
|
platforms:
|
||
|
- linux/arm64
|
||
|
- linux/amd64
|
||
|
when:
|
||
|
- branch: main
|
||
|
event: push
|
||
|
- name: docker-build
|
||
|
image: woodpeckerci/plugin-docker-buildx
|
||
|
privileged: true
|
||
|
settings:
|
||
|
registry: git.ar21.de
|
||
|
username:
|
||
|
from_secret: REGISTRY_USER
|
||
|
password:
|
||
|
from_secret: REGISTRY_PASS
|
||
|
repo: git.ar21.de/aaron/debian-ci
|
||
|
tags: latest
|
||
|
platforms:
|
||
|
- linux/arm64
|
||
|
- linux/amd64
|
||
|
dry_run: true
|
||
|
when:
|
||
|
- branch:
|
||
|
exclude: main
|
||
|
event: push
|