forked from samuel-p/connectivity-check
28 lines
560 B
YAML
28 lines
560 B
YAML
pipeline:
|
|
docker:
|
|
image: plugins/docker
|
|
secrets:
|
|
- DOCKER_USERNAME
|
|
- DOCKER_PASSWORD
|
|
repo: samuelph/connectivity-check
|
|
tags: latest
|
|
when:
|
|
branch:
|
|
- main
|
|
event:
|
|
- push
|
|
cr:
|
|
image: plugins/docker
|
|
secrets:
|
|
- source: CR_USERNAME
|
|
target: DOCKER_USERNAME
|
|
- source: CR_PASSWORD
|
|
target: DOCKER_PASSWORD
|
|
registry: cr.sp-codes.de
|
|
repo: cr.sp-codes.de/samuel-p/connectivity-check
|
|
tags: latest
|
|
when:
|
|
branch:
|
|
- main
|
|
event:
|
|
- push
|