sonar-scanner/.woodpecker.yml

34 lines
789 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
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