Update drone

This commit is contained in:
Yarmo Mackenbach 2020-08-09 12:26:39 +02:00
parent c9279dce41
commit 48805ceb98

View file

@ -2,7 +2,7 @@
kind: pipeline kind: pipeline
type: exec type: exec
name: deploy to prod name: deploy-prod
steps: steps:
- name: composer - name: composer
@ -23,9 +23,25 @@ trigger:
--- ---
kind: pipeline
name: build-dev-container
steps:
- name: docker
image: plugins/docker
settings:
username:
from_secret: docker_username
password:
from_secret: docker_password
repo: keyoxide/keyoxide
tags: dev
---
kind: pipeline kind: pipeline
type: exec type: exec
name: deploy to dev name: deploy-dev
steps: steps:
- name: build docker container - name: build docker container
@ -48,6 +64,9 @@ steps:
commands: commands:
- docker run -d -e "TWITTER_API_AUTH=$${TWITTER_API_AUTH}" --name keyoxide-web -h keyoxide --network dc_web keyoxide-web - docker run -d -e "TWITTER_API_AUTH=$${TWITTER_API_AUTH}" --name keyoxide-web -h keyoxide --network dc_web keyoxide-web
depends_on:
- build-dev-container
trigger: trigger:
branch: branch:
- dev - dev