Browse Source

CI-builds und Deployments nur vom Master Branch, bitte. :-)

feature/bulma
Christian Aust 8 months ago
parent
commit
dd6ca2b73e
  1. 50
      .drone.yml

50
.drone.yml

@ -3,30 +3,34 @@ kind: pipeline
name: default
steps:
- name: docker
image: plugins/docker
settings:
username:
from_secret: docker_username
password:
from_secret: docker_password
repo: registry.software-berater.net/software-berater.net/server
registry: registry.software-berater.net
- name: docker
image: plugins/docker
settings:
username:
from_secret: docker_username
password:
from_secret: docker_password
repo: registry.software-berater.net/software-berater.net/server
registry: registry.software-berater.net
- name: restart
image: alpine:3.8
volumes:
- name: run
path: /tmp/run
commands:
- touch /tmp/run/software-berater
- name: restart
image: alpine:3.8
volumes:
- name: run
path: /tmp/run
commands:
- touch /tmp/run/software-berater
- name: ping
image: ruby:2.6-alpine
commands:
- rake ping
- name: ping
image: ruby:2.6-alpine
commands:
- rake ping
volumes:
- name: run
host:
path: /opt/dockerfiles/run
- name: run
host:
path: /opt/dockerfiles/run
trigger:
branch:
- master

Loading…
Cancel
Save