minebot/.drone.yml
Joseph Montanaro 3386009590
All checks were successful
continuous-integration/drone/push Build is passing
switch to exec pipeline for CI
2021-01-03 12:48:18 -08:00

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