runtime/.drone.yml
Adam Štrauch 4eb56ac875
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is passing
Pipeline name fix
2021-09-21 23:21:19 +02:00

43 lines
595 B
YAML

kind: pipeline
type: ssh
name: image builder
server:
host: 192.168.1.2
user: build
password:
from_secret: ssh_password
steps:
- name: build
commands:
- make build
---
kind: pipeline
type: ssh
name: production image builder
server:
host: 192.168.1.2
user: build
password:
from_secret: ssh_password
steps:
- name: build
environment:
DOCKER_USERNAME: creckx
DOCKER_PASSWORD:
from_secret: docker_password
commands:
- docker login -u $DOCKER_USERNAME --password $DOCKER_PASSWORD
- make push
trigger:
event:
- promote
target:
- production