sonar-scanner/.woodpecker.yml
Guillaume "B.B." Van Hemmen eaedf50f1c
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
#0000 - add envinfo
2023-11-04 20:20:22 +01:00

35 lines
806 B
YAML

steps:
env-info:
image: ubuntu:latest
commands:
- printenv
docker-master:
image: woodpeckerci/plugin-docker-buildx
settings:
repo: git.van-hemmen.com/guillaumehemmen/sonar-scanner
tags: latest,${CI_COMMIT}
registry: git.van-hemmen.com
username:
from_secret: docker_username
password:
from_secret: docker_password
when:
event:
- push
- manual
branch: 'master'
docker-tag:
image: woodpeckerci/plugin-docker-buildx
settings:
repo: git.van-hemmen.com/guillaumehemmen/sonar-scanner
tags: latest,${CI_TAG}
registry: git.van-hemmen.com
username:
from_secret: docker_username
password:
from_secret: docker_password
when:
event:
- tag