anchoring

This commit is contained in:
Michael Balsillie 2022-08-21 23:50:27 +12:00
parent b6d453ec16
commit d218027e0c

View File

@ -1,13 +1,14 @@
variables:
&vars
- REGISTRY=code.balsillie.net
- REGISTRY_USER=michael
- ORGANIZATION=containers
- SOURCE_ORGANIZATION=mirrors
- REPO=matrix-service-synapse
- BUILD_ARGS="PYTHON_VERSION=3.10"
- DOCKERFILE="docker/Dockerfile"
- CONTEXT=.
environment:
- REGISTRY=code.balsillie.net
- REGISTRY_USER=michael
- ORGANIZATION=containers
- SOURCE_ORGANIZATION=mirrors
- REPO=matrix-service-synapse
- BUILD_ARGS="PYTHON_VERSION=3.10"
- DOCKERFILE="docker/Dockerfile"
- CONTEXT=.
workspace:
base: /git
@ -28,7 +29,7 @@ pipeline:
clone-source:
image: docker:git
environment:
*vars
<<: *vars
commands:
- git clone https://${REGISTRY}/${SOURCE_ORGANIZATION}/${REPO}.git /git/${REPO}
- cd /git/${REPO}
@ -42,7 +43,7 @@ pipeline:
volumes:
- /var/run/docker.sock:/var/run/docker.sock
environment:
*vars
<<: *vars
commands:
- export DOCKER_BUILDKIT=1
- cd /git/${REPO}