ditch anchors
This commit is contained in:
parent
d218027e0c
commit
5254450ec5
@ -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:
|
workspace:
|
||||||
base: /git
|
base: /git
|
||||||
path: pipeline
|
path: pipeline
|
||||||
@ -29,7 +17,9 @@ pipeline:
|
|||||||
clone-source:
|
clone-source:
|
||||||
image: docker:git
|
image: docker:git
|
||||||
environment:
|
environment:
|
||||||
<<: *vars
|
- REGISTRY=code.balsillie.net
|
||||||
|
- SOURCE_ORGANIZATION=mirrors
|
||||||
|
- REPO=matrix-service-synapse
|
||||||
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}
|
||||||
@ -43,7 +33,13 @@ pipeline:
|
|||||||
volumes:
|
volumes:
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
environment:
|
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:
|
commands:
|
||||||
- export DOCKER_BUILDKIT=1
|
- export DOCKER_BUILDKIT=1
|
||||||
- cd /git/${REPO}
|
- cd /git/${REPO}
|
||||||
|
Loading…
Reference in New Issue
Block a user