brace whoopsie
This commit is contained in:
parent
f7a59b25b0
commit
b6d453ec16
@ -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}
|
Loading…
Reference in New Issue
Block a user