version: '3'
output: prefixed
internal: true
tasks:
build-images:
prefix: "build image: {{ .SERVICE }}"
dir: services/{{ .SERVICE }}
cmd: . ./build.sh
env:
IMAGE_VERSION: "{{ .VERSION }}"
start-service:
prefix: "start: {{ .SERVICE }}"
cmd: . ./start.sh
stop-service:
prefix: "stop: {{ .SERVICE }}"
cmd: . ./stop.sh