newline stuff
Some checks failed
ci/woodpecker/push/main Pipeline failed

This commit is contained in:
Michael Balsillie 2022-08-21 23:33:27 +12:00
parent 79e237e588
commit a5c45fa690

View File

@ -1,12 +1,12 @@
variables:
&vars
REGISTRY=code.balsillie.net &&
REGISTRY_USER=michael &&
ORGANIZATION=containers &&
SOURCE_ORGANIZATION=mirrors &&
REPO=matrix-service-synapse &&
BUILD_ARGS="PYTHON_VERSION=3.10" &&
DOCKERFILE="docker/Dockerfile" &&
REGISTRY=code.balsillie.net
REGISTRY_USER=michael
ORGANIZATION=containers
SOURCE_ORGANIZATION=mirrors
REPO=matrix-service-synapse
BUILD_ARGS="PYTHON_VERSION=3.10"
DOCKERFILE="docker/Dockerfile"
CONTEXT=.
workspace:
@ -40,12 +40,12 @@ pipeline:
- export DOCKER_BUILDKIT=1
- 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 \
--pull \
--build-arg $BUILD_ARGS \
-f $DOCKERFILE \
- docker build
-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 $REGISTRY/$ORGANIZATION/$REPO:latest