chore(ci): move to woodpecker
This commit is contained in:
parent
706e3d0ca8
commit
530610d905
5 changed files with 77 additions and 114 deletions
36
.woodpecker/.build.yaml
Normal file
36
.woodpecker/.build.yaml
Normal file
|
@ -0,0 +1,36 @@
|
|||
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/yolokube/country-geo-locations
|
||||
tags:
|
||||
- latest
|
||||
- ${CI_PIPELINE_NUMBER}
|
||||
when:
|
||||
- branch: main
|
||||
event: push
|
||||
- name: docker-staging
|
||||
image: woodpeckerci/plugin-docker-buildx
|
||||
settings:
|
||||
registry: git.ar21.de
|
||||
username:
|
||||
from_secret: REGISTRY_USER
|
||||
password:
|
||||
from_secret: REGISTRY_PASS
|
||||
repo: git.ar21.de/yolokube/country-geo-locations
|
||||
tags:
|
||||
- staging
|
||||
- staging-${CI_PIPELINE_NUMBER}
|
||||
dry_run: true
|
||||
when:
|
||||
- branch:
|
||||
exclude: main
|
||||
event: push
|
||||
depends_on:
|
||||
- gofmt
|
||||
- vulncheck
|
Loading…
Add table
Add a link
Reference in a new issue