Skip to content

Commit

Permalink
Added initial drone config
Browse files Browse the repository at this point in the history
  • Loading branch information
djcass44 committed Mar 16, 2019
1 parent ad25bba commit f1ffcd2
Showing 1 changed file with 47 additions and 0 deletions.
47 changes: 47 additions & 0 deletions .drone.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
kind: pipeline
name: backend

platform:
os: linux
arch: arm

steps:
- name: publish
image: plugins/docker
settings:
username:
from_secret: castive-docker-svc-username
password:
from_secret: castive-docker-svc-password
repo: docker.castive.dev/jmp
registry: docker.castive.dev
when:
event:
- tag
ref:
- refs/tags/v*
---
kind: pipeline
name: frontend

platform:
os: linux
arch: arm

steps:
- name: publish-fe
image: plugins/docker
settings:
username:
from_secret: castive-docker-svc-username
password:
from_secret: castive-docker-svc-password
repo: docker.castive.dev/jmp
registry: docker.castive.dev
dockerfile: src/main/resources/public2/Dockerfile
context: src/main/resources/public2
when:
event:
- tag
ref:
- refs/tags/v*

0 comments on commit f1ffcd2

Please sign in to comment.