woodpecker
All checks were successful
ci/woodpecker/manual/woodpecker Pipeline was successful

This commit is contained in:
Aaron Riedel 2024-10-10 21:52:15 +02:00
parent fb743c7d36
commit 391d3ffa12
Signed by: aaron
GPG key ID: 643004654D40D577
2 changed files with 29 additions and 19 deletions

View file

@ -1,19 +0,0 @@
kind: pipeline
type: kubernetes
name: nexus-container
steps:
- name: docker-build
image: plugins/docker
settings:
username:
from_secret: DOCKER_USERNAME
password:
from_secret: DOCKER_PASSWORD
repo: aaronriedel/nexus
tags: latest
when:
branch:
- main
event:
- push

29
.woodpecker.yaml Normal file
View file

@ -0,0 +1,29 @@
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]