ditch anchors

This commit is contained in:
Michael Balsillie 2022-08-21 23:52:37 +12:00
parent d218027e0c
commit 5254450ec5

View File

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