27 lines
365 B
YAML
27 lines
365 B
YAML
|
kind: pipeline
|
||
|
type: docker
|
||
|
name: default
|
||
|
|
||
|
platform:
|
||
|
os: linux
|
||
|
arch: amd64
|
||
|
|
||
|
steps:
|
||
|
- name: deployment
|
||
|
image: alpine
|
||
|
commands:
|
||
|
- echo "Build the container image"
|
||
|
- docker-compose build
|
||
|
- echo "Restart the container"
|
||
|
- docker-compose restart
|
||
|
when:
|
||
|
branch:
|
||
|
- ci-testing
|
||
|
|
||
|
node:
|
||
|
host: socrates
|
||
|
|
||
|
trigger:
|
||
|
event:
|
||
|
- push
|