nexus/.woodpecker.yaml

30 lines
640 B
YAML
Raw Normal View History

2024-10-10 21:52:15 +02:00
steps:
- name: docker
image: woodpeckerci/plugin-docker-buildx
settings:
registry: git.ar21.de
username:
from_secret: REGISTRY_USER
password:
from_secret: REGISTRY_PASS
repo: git.ar21.de/aaron/nexus
tags: latest
when:
- branch: main
event: [push, manual]
- name: docker-build
image: woodpeckerci/plugin-docker-buildx
settings:
registry: git.ar21.de
username:
from_secret: REGISTRY_USER
password:
from_secret: REGISTRY_PASS
repo: git.ar21.de/aaron/nexus
tags: latest
dry_run: true
when:
- branch:
exclude: main
event: [push, manual]