docker-compose deployment #18

Merged
wanderer merged 6 commits from docker-deploy into master 2020-10-03 21:00:22 +02:00
Showing only changes of commit bdeddff68c - Show all commits

@ -30,6 +30,12 @@ platform:
os: linux
arch: amd64
trigger:
branch:
- master
event:
- pull_request
depends_on:
- pull
@ -37,18 +43,47 @@ steps:
- name: hugo-extended
pull: if-not-exists
image: immawanderer/fedora-hugo:latest
when:
branch:
- master
event:
- push
- pull_request
commands:
- git submodule init
- git submodule update
- hugo version
- hugo --gc=true --minify
---
kind: pipeline
type: docker
name: docker-build
platform:
os: linux
arch: amd64
trigger:
branch:
- master
event:
- pull_request
depends_on:
- build
steps:
- name: docker-build
pull: always
image: tmaier/docker-compose:latest
depends_on:
- hugo-extended
volumes:
- name: s
path: /var/run/docker.sock
commands:
- docker-compose build
volumes:
- name: s
host:
path: /var/run/docker.sock
---
kind: pipeline
@ -69,7 +104,7 @@ trigger:
- tag
depends_on:
- build
- docker-build
steps:
- name: hugo-extended
@ -118,7 +153,7 @@ clone:
trigger:
branch:
- master
- "*"
- testing
event:
- push
- tag