One works... but the other...
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
31
.drone.yml
31
.drone.yml
@@ -118,8 +118,11 @@ steps:
|
||||
- name: Publish Image
|
||||
image: docker
|
||||
failure: ignore
|
||||
environment:
|
||||
DOCKER_TOKEN:
|
||||
from_secret: reg_token
|
||||
commands:
|
||||
- docker login git.mifi.dev
|
||||
- 'docker login git.mifi.dev -u <token> --password-stdin'
|
||||
- 'docker build -t git.mifi.dev/mifi/mifi/auth:latest -t git.mifi.dev/mifi/mifi/auth:${DRONE_TAG:-latest} .'
|
||||
- docker push git.mifi.dev/mifi/mifi/auth:latest
|
||||
volumes:
|
||||
@@ -127,19 +130,19 @@ steps:
|
||||
path: /var/run/docker.sock
|
||||
- name: dockerconfig
|
||||
path: /drone/grow/.docker/config.json
|
||||
- name: Publish Image (plugin)
|
||||
image: plugins/docker
|
||||
settings:
|
||||
auto_tag: true
|
||||
repo: git.mifi.dev/mifi/mifi/auth
|
||||
registry: git.mifi.dev
|
||||
debug: true
|
||||
ssh-agent-key:
|
||||
from_secret: reg_token
|
||||
username: <token>
|
||||
password:
|
||||
from_secret: reg_token
|
||||
secrets: [reg_token]
|
||||
# - name: Publish Image (plugin)
|
||||
# image: plugins/docker
|
||||
# settings:
|
||||
# auto_tag: true
|
||||
# repo: git.mifi.dev/mifi/mifi/auth
|
||||
# registry: git.mifi.dev
|
||||
# debug: true
|
||||
# ssh-agent-key:
|
||||
# from_secret: reg_token
|
||||
# username: <token>
|
||||
# password:
|
||||
# from_secret: reg_token
|
||||
# secrets: [reg_token]
|
||||
- name: Report Image Publish Status
|
||||
image: plugins/webhook
|
||||
settings:
|
||||
|
||||
Reference in New Issue
Block a user