From 5254450ec56ad27135ff1b44a1b7e4319799ecaa Mon Sep 17 00:00:00 2001 From: Michael Balsillie Date: Sun, 21 Aug 2022 23:52:37 +1200 Subject: [PATCH] ditch anchors --- .woodpecker/main.yml | 24 ++++++++++-------------- 1 file changed, 10 insertions(+), 14 deletions(-) diff --git a/.woodpecker/main.yml b/.woodpecker/main.yml index 8f41e07..931fde8 100644 --- a/.woodpecker/main.yml +++ b/.woodpecker/main.yml @@ -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}