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}