From b6d453ec16a422d5927c3607693554fe49690d7a Mon Sep 17 00:00:00 2001 From: Michael Balsillie Date: Sun, 21 Aug 2022 23:43:37 +1200 Subject: [PATCH] brace whoopsie --- .woodpecker/main.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.woodpecker/main.yml b/.woodpecker/main.yml index b4c77e2..851e20c 100644 --- a/.woodpecker/main.yml +++ b/.woodpecker/main.yml @@ -18,11 +18,13 @@ clone: image: woodpeckerci/plugin-git pipeline: + check-tag: image: debian:11-slim pull: false commands: - /bin/bash check-tag.sh + clone-source: image: docker:git environment: @@ -31,6 +33,7 @@ pipeline: - git clone https://${REGISTRY}/${SOURCE_ORGANIZATION}/${REPO}.git /git/${REPO} - cd /git/${REPO} - git checkout $TAG + docker-build: image: docker:latest secrets: @@ -50,6 +53,6 @@ pipeline: -t ${REGISTRY}/${ORGANIZATION}/${REPO}:latest --pull --build-arg ${BUILD_ARGS} - -f $}DOCKERFILE} + -f ${DOCKERFILE} ${CONTEXT} - docker push -a ${REGISTRY}/${ORGANIZATION}/${REPO} \ No newline at end of file