39 lines
746 B
YAML
39 lines
746 B
YAML
---
|
|
# SPDX-FileCopyrightText: 2019 Free Software Foundation Europe e.V.
|
|
#
|
|
# SPDX-License-Identifier: CC0-1.0
|
|
|
|
kind: pipeline
|
|
name: default
|
|
type: docker
|
|
|
|
steps:
|
|
- name: reuse
|
|
image: fsfe/reuse:latest
|
|
- name: deploy
|
|
pull: if-not-exists
|
|
image: docker/compose:1.29.2
|
|
environment:
|
|
XDG_RUNTIME_DIR: "/run/user/1001"
|
|
DOCKER_HOST: "unix:///run/user/1001/docker.sock"
|
|
commands:
|
|
- docker-compose -p reminder-mails up --build -d
|
|
volumes:
|
|
- name: dockersock
|
|
path: /run/user/1001/docker.sock
|
|
when:
|
|
branch:
|
|
- master
|
|
event:
|
|
- push
|
|
- tag
|
|
- deployment
|
|
|
|
node:
|
|
cont1: plutex
|
|
|
|
volumes:
|
|
- name: dockersock
|
|
host:
|
|
path: /run/user/1001/docker.sock
|