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