38 lines
780 B
YAML
38 lines
780 B
YAML
|
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/grafana-backuper
|
||
|
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/grafana-backuper
|
||
|
tags:
|
||
|
- staging
|
||
|
- staging-${CI_PIPELINE_NUMBER}
|
||
|
dry_run: true
|
||
|
when:
|
||
|
- branch:
|
||
|
exclude: main
|
||
|
event: push
|
||
|
depends_on:
|
||
|
- gofmt
|
||
|
- lint
|
||
|
- vulncheck
|