Update pipeline. Again. Day 900 and something.
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
13
.drone.yml
13
.drone.yml
@@ -119,11 +119,9 @@ steps:
|
|||||||
image: docker
|
image: docker
|
||||||
failure: ignore
|
failure: ignore
|
||||||
commands:
|
commands:
|
||||||
- echo "U - $REGISTRY_USERNAME P - ${REGISTRY_PASSWORD}"
|
- docker login git.mifi.dev
|
||||||
- docker login -u $REGISTRY_USERNAME -p $REGISTRY_PASSWORD git.mifi.dev
|
|
||||||
- 'docker build -t git.mifi.dev/mifi/mifi/auth:latest -t git.mifi.dev/mifi/mifi/auth:${DRONE_TAG:-latest} .'
|
- '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
|
- docker push git.mifi.dev/mifi/mifi/auth:latest
|
||||||
secrets: [registry_username, registry_password]
|
|
||||||
volumes:
|
volumes:
|
||||||
- name: dockersock
|
- name: dockersock
|
||||||
path: /var/run/docker.sock
|
path: /var/run/docker.sock
|
||||||
@@ -138,11 +136,10 @@ steps:
|
|||||||
debug: true
|
debug: true
|
||||||
ssh-agent-key:
|
ssh-agent-key:
|
||||||
from_secret: reg_token
|
from_secret: reg_token
|
||||||
# username:
|
username: <token>
|
||||||
# from_secret: registry_username
|
password:
|
||||||
# password:
|
from_secret: reg_token
|
||||||
# from_secret: registry_password
|
secrets: [reg_token]
|
||||||
secrets: [registry_username, registry_password]
|
|
||||||
- name: Report Image Publish Status
|
- name: Report Image Publish Status
|
||||||
image: plugins/webhook
|
image: plugins/webhook
|
||||||
settings:
|
settings:
|
||||||
|
|||||||
Reference in New Issue
Block a user