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