Joseph Montanaro
3386009590
All checks were successful
continuous-integration/drone/push Build is passing
26 lines
462 B
YAML
26 lines
462 B
YAML
---
|
|
kind: pipeline
|
|
type: exec
|
|
name: main
|
|
|
|
trigger:
|
|
branch:
|
|
- master
|
|
|
|
platform:
|
|
os: linux
|
|
arch: amd64
|
|
|
|
steps:
|
|
- name: build
|
|
commands:
|
|
- docker build -t registry.jfmonty2.com/minebot:latest .
|
|
|
|
- name: deploy
|
|
environment:
|
|
REGISTRY_PWD:
|
|
from_secret: registry_pwd
|
|
commands:
|
|
- echo $REGISTRY_PWD | docker login -u drone --password-stdin registry.jfmonty2.com
|
|
- docker push registry.jfmonty2.com/minebot:latest
|