This commit is contained in:
parent
79548c92e1
commit
c3502b6591
@ -42,7 +42,7 @@ pipeline:
|
|||||||
- CONTEXT=.
|
- CONTEXT=.
|
||||||
commands:
|
commands:
|
||||||
- export DOCKER_BUILDKIT=1
|
- export DOCKER_BUILDKIT=1
|
||||||
- cd /git/$REPO
|
- cd /git/$${REPO}
|
||||||
- echo $REGISTRY_PASSWORD | docker login $REGISTRY -u $REGISTRY_USER --password-stdin
|
- echo $REGISTRY_PASSWORD | docker login $REGISTRY -u $REGISTRY_USER --password-stdin
|
||||||
- docker build
|
- docker build
|
||||||
-t $REGISTRY/$ORGANIZATION/$REPO:$TAG
|
-t $REGISTRY/$ORGANIZATION/$REPO:$TAG
|
||||||
@ -50,6 +50,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
|
Loading…
Reference in New Issue
Block a user