Adjust pipeline.
This commit is contained in:
21
.drone.yml
21
.drone.yml
@@ -7,19 +7,20 @@ trigger:
|
||||
|
||||
steps:
|
||||
|
||||
- name: build-and-push
|
||||
image: plugins/docker
|
||||
settings:
|
||||
username:
|
||||
from_secret: DOCKER_USERNAME
|
||||
password:
|
||||
from_secret: DOCKER_PASSWORD
|
||||
repo: registry.binderlab.io/harbormaster
|
||||
registry: registry.binderlab.io
|
||||
tags: latest
|
||||
# - name: build-and-push
|
||||
# image: plugins/docker
|
||||
# settings:
|
||||
# username:
|
||||
# from_secret: DOCKER_USERNAME
|
||||
# password:
|
||||
# from_secret: DOCKER_PASSWORD
|
||||
# repo: registry.binderlab.io/harbormaster
|
||||
# registry: registry.binderlab.io
|
||||
# tags: latest
|
||||
|
||||
- name: deploy
|
||||
image: plugins/docker
|
||||
privileged: true
|
||||
environment:
|
||||
DOCKER_USERNAME:
|
||||
from_secret: DOCKER_USERNAME
|
||||
|
||||
Reference in New Issue
Block a user