2023-11-04 18:29:51 +01:00
|
|
|
steps:
|
2023-04-23 20:09:10 +02:00
|
|
|
|
2023-11-04 18:40:03 +01:00
|
|
|
docker-master:
|
2023-11-04 18:29:24 +01:00
|
|
|
image: woodpeckerci/plugin-docker-buildx
|
2023-04-23 20:09:10 +02:00
|
|
|
settings:
|
2023-04-24 18:41:47 +02:00
|
|
|
repo: git.van-hemmen.com/guillaumehemmen/sonar-scanner
|
2023-04-24 18:47:12 +02:00
|
|
|
tags: latest,${CI_COMMIT}
|
2023-04-24 18:42:04 +02:00
|
|
|
registry: git.van-hemmen.com
|
2023-04-23 20:09:10 +02:00
|
|
|
username:
|
|
|
|
from_secret: docker_username
|
|
|
|
password:
|
|
|
|
from_secret: docker_password
|
2023-04-23 17:15:35 +02:00
|
|
|
when:
|
|
|
|
event:
|
|
|
|
- push
|
2023-11-04 20:16:28 +01:00
|
|
|
- manual
|
2023-04-23 17:15:35 +02:00
|
|
|
branch: 'master'
|
2023-04-24 19:15:04 +02:00
|
|
|
|
2023-11-04 18:40:03 +01:00
|
|
|
docker-tag:
|
2023-11-04 18:29:24 +01:00
|
|
|
image: woodpeckerci/plugin-docker-buildx
|
2023-04-24 19:15:04 +02:00
|
|
|
settings:
|
|
|
|
repo: git.van-hemmen.com/guillaumehemmen/sonar-scanner
|
2023-04-24 19:20:07 +02:00
|
|
|
tags: latest,${CI_TAG}
|
2023-04-24 19:15:04 +02:00
|
|
|
registry: git.van-hemmen.com
|
|
|
|
username:
|
|
|
|
from_secret: docker_username
|
|
|
|
password:
|
|
|
|
from_secret: docker_password
|
|
|
|
when:
|
|
|
|
event:
|
|
|
|
- tag
|