change container registry
Some checks reported errors
continuous-integration/drone/push Build encountered an error
Some checks reported errors
continuous-integration/drone/push Build encountered an error
This commit is contained in:
parent
74fe90b242
commit
2a46a54637
1 changed files with 12 additions and 13 deletions
25
.drone.yml
25
.drone.yml
|
@ -2,25 +2,23 @@ kind: pipeline
|
|||
name: deploy
|
||||
steps:
|
||||
- name: docker
|
||||
image: plugins/docker
|
||||
settings:
|
||||
registry: git.ar21.de
|
||||
username:
|
||||
from_secret: DOCKER_USERNAME
|
||||
from_secret: REGISTRY_USER
|
||||
password:
|
||||
from_secret: DOCKER_PASSWORD
|
||||
repo: secondhemd/shbot
|
||||
from_secret: REGISTRY_PASS
|
||||
repo: git.ar21.de/secondhemd/shbot
|
||||
tags: latest
|
||||
when:
|
||||
branch:
|
||||
- master
|
||||
- name: docker-build
|
||||
image: plugins/docker
|
||||
settings:
|
||||
registry: git.ar21.de
|
||||
username:
|
||||
from_secret: DOCKER_USERNAME
|
||||
from_secret: REGISTRY_USER
|
||||
password:
|
||||
from_secret: DOCKER_PASSWORD
|
||||
repo: secondhemd/shbot
|
||||
from_secret: REGISTRY_PASS
|
||||
repo: git.ar21.de/secondhemd/shbot
|
||||
tags: latest
|
||||
dry_run: true
|
||||
when:
|
||||
|
@ -30,11 +28,12 @@ steps:
|
|||
- name: dev docker
|
||||
image: plugins/docker
|
||||
settings:
|
||||
registry: git.ar21.de
|
||||
username:
|
||||
from_secret: DOCKER_USERNAME
|
||||
from_secret: REGISTRY_USER
|
||||
password:
|
||||
from_secret: DOCKER_PASSWORD
|
||||
repo: secondhemd/shbot
|
||||
from_secret: REGISTRY_PASS
|
||||
repo: git.ar21.de/secondhemd/shbot
|
||||
tags: dev
|
||||
when:
|
||||
branch:
|
||||
|
|
Loading…
Reference in a new issue