This commit is contained in:
parent
fb743c7d36
commit
391d3ffa12
2 changed files with 29 additions and 19 deletions
19
.drone.yml
19
.drone.yml
|
@ -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
29
.woodpecker.yaml
Normal 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]
|
Loading…
Reference in a new issue