Updated drone config for drone 1

This commit is contained in:
konrad 2019-04-25 20:05:12 +02:00
parent 3647e93b91
commit 011b0c3f98
No known key found for this signature in database
GPG key ID: F40E70337AB24C9B

View file

@ -48,8 +48,9 @@ steps:
- cd dist - cd dist
- zip -r ../vikunja-frontend-master.zip * - zip -r ../vikunja-frontend-master.zip *
- cd .. - cd ..
depends_on: [ build ]
- name: release-latest - name: release
image: plugins/s3:1 image: plugins/s3:1
pull: true pull: true
settings: settings:
@ -61,6 +62,7 @@ steps:
endpoint: https://storage.kolaente.de endpoint: https://storage.kolaente.de
path_style: true path_style: true
source: vikunja-frontend-master.zip source: vikunja-frontend-master.zip
depends_on: [ static ]
# Build the docker image and push it to docker hub # Build the docker image and push it to docker hub
- name: docker - name: docker
@ -73,6 +75,7 @@ steps:
from_secret: docker_password from_secret: docker_password
repo: vikunja/frontend repo: vikunja/frontend
auto_tag: true auto_tag: true
depends_on: [ static ]
# Update the instance on try.vikunja.io # Update the instance on try.vikunja.io
- name: rancher - name: rancher
@ -115,8 +118,9 @@ steps:
- cd dist - cd dist
- zip -r ../vikunja-frontend-${DRONE_TAG##v}.zip * - zip -r ../vikunja-frontend-${DRONE_TAG##v}.zip *
- cd .. - cd ..
depends_on: [ build ]
- name: release-latest - name: release
image: plugins/s3:1 image: plugins/s3:1
pull: true pull: true
settings: settings:
@ -128,6 +132,7 @@ steps:
endpoint: https://storage.kolaente.de endpoint: https://storage.kolaente.de
path_style: true path_style: true
source: vikunja-frontend-${DRONE_TAG##v}.zip source: vikunja-frontend-${DRONE_TAG##v}.zip
depends_on: [ static ]
# Build the docker image and push it to docker hub # Build the docker image and push it to docker hub
- name: docker - name: docker
@ -140,3 +145,4 @@ steps:
from_secret: docker_password from_secret: docker_password
repo: vikunja/frontend repo: vikunja/frontend
auto_tag: true auto_tag: true
depends_on: [ static ]