sonar-scanner/.woodpecker.yml
Guillaume "B.B." Van Hemmen d3575ea71a
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/tag/woodpecker Pipeline was successful
#0000 - fix env variables
2023-11-04 20:21:21 +01:00

35 lines
817 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_SHA}
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_COMMIT_TAG}
registry: git.van-hemmen.com
username:
from_secret: docker_username
password:
from_secret: docker_password
when:
event:
- tag