ditch expansions
This commit is contained in:
parent
0d12590ad0
commit
49b997aa71
@ -21,8 +21,8 @@ pipeline:
|
||||
- SOURCE_ORGANIZATION=mirrors
|
||||
- REPO=matrix-service-synapse
|
||||
commands:
|
||||
- git clone https://$${REGISTRY}/$${SOURCE_ORGANIZATION}/$${REPO}.git /git/$${REPO}
|
||||
- cd /git/$${REPO}
|
||||
- git clone https://$REGISTRY/$SOURCE_ORGANIZATION/$REPO.git /git/$REPO
|
||||
- cd /git/$REPO
|
||||
- git checkout $TAG
|
||||
|
||||
docker-build:
|
||||
@ -42,14 +42,14 @@ pipeline:
|
||||
- CONTEXT=.
|
||||
commands:
|
||||
- export DOCKER_BUILDKIT=1
|
||||
- cd /git/$${REPO}
|
||||
- echo $REGISTRY_PASSWORD | docker login $${REGISTRY} -u $${REGISTRY_USER} --password-stdin
|
||||
- cd /git/$REPO
|
||||
- echo $REGISTRY_PASSWORD | docker login $REGISTRY -u $REGISTRY_USER --password-stdin
|
||||
- docker build
|
||||
-t $${REGISTRY}/$${ORGANIZATION}/$${REPO}:$TAG
|
||||
-t $${REGISTRY}/$${ORGANIZATION}/$${REPO}:$(date +%F)
|
||||
-t $${REGISTRY}/$${ORGANIZATION}/$${REPO}:latest
|
||||
-t $REGISTRY/$ORGANIZATION/$REPO:$TAG
|
||||
-t $REGISTRY/$ORGANIZATION/$REPO:$(date +%F)
|
||||
-t $REGISTRY/$ORGANIZATION/$REPO:latest
|
||||
--pull
|
||||
--build-arg $${BUILD_ARGS}
|
||||
-f $${DOCKERFILE}
|
||||
$${CONTEXT}
|
||||
- docker push -a $${REGISTRY}/$${ORGANIZATION}/$${REPO}
|
||||
--build-arg $BUILD_ARGS
|
||||
-f $DOCKERFILE
|
||||
$CONTEXT
|
||||
- docker push -a $REGISTRY/$ORGANIZATION/$REPO
|
Loading…
Reference in New Issue
Block a user