30 lines
721 B
YAML
30 lines
721 B
YAML
steps:
|
|
|
|
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
|