-
Notifications
You must be signed in to change notification settings - Fork 16
/
docker-compose.build.yml
33 lines (30 loc) · 1.25 KB
/
docker-compose.build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
version: '3'
services:
octopusdeploy-tentacle-linux:
build:
context: .
dockerfile: ./docker/linux/Dockerfile
args:
BUILD_DATE: ${BUILD_DATE:?err}
BUILD_NUMBER: ${BUILD_NUMBER:?err}
image: docker.packages.octopushq.com/octopusdeploy/tentacle:${BUILD_NUMBER?err}-linux
octopusdeploy-kubernetes-agent-tentacle-linux:
platform: "linux/${BUILD_ARCH:?err}"
build:
context: .
dockerfile: ./docker/kubernetes-agent-tentacle/Dockerfile
args:
BUILD_DATE: ${BUILD_DATE:?err}
BUILD_NUMBER: ${BUILD_NUMBER:?err}
TARGETARCH: ${BUILD_ARCH:?err}
TARGETOS: linux
TARGETVARIANT: ${BUILD_VARIANT}
image: docker.packages.octopushq.com/octopusdeploy/kubernetes-agent-tentacle:${BUILD_NUMBER?err}-linux-${BUILD_ARCH:?err}
octopusdeploy-tentacle-windows-2019:
build:
context: .
dockerfile: ./docker/windows/Dockerfile
args:
BUILD_DATE: ${BUILD_DATE:?err}
BUILD_NUMBER: ${BUILD_NUMBER:?err}
image: docker.packages.octopushq.com/octopusdeploy/tentacle:${BUILD_NUMBER?err}-windows-2019