brace whoopsie

This commit is contained in:
Michael Balsillie 2022-08-21 23:43:37 +12:00
parent f7a59b25b0
commit b6d453ec16

View File

@ -18,11 +18,13 @@ clone:
image: woodpeckerci/plugin-git image: woodpeckerci/plugin-git
pipeline: pipeline:
check-tag: check-tag:
image: debian:11-slim image: debian:11-slim
pull: false pull: false
commands: commands:
- /bin/bash check-tag.sh - /bin/bash check-tag.sh
clone-source: clone-source:
image: docker:git image: docker:git
environment: environment:
@ -31,6 +33,7 @@ pipeline:
- 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}
- git checkout $TAG - git checkout $TAG
docker-build: docker-build:
image: docker:latest image: docker:latest
secrets: secrets:
@ -50,6 +53,6 @@ pipeline:
-t ${REGISTRY}/${ORGANIZATION}/${REPO}:latest -t ${REGISTRY}/${ORGANIZATION}/${REPO}:latest
--pull --pull
--build-arg ${BUILD_ARGS} --build-arg ${BUILD_ARGS}
-f $}DOCKERFILE} -f ${DOCKERFILE}
${CONTEXT} ${CONTEXT}
- docker push -a ${REGISTRY}/${ORGANIZATION}/${REPO} - docker push -a ${REGISTRY}/${ORGANIZATION}/${REPO}