build arg didn't take
All checks were successful
ci/woodpecker/push/main Pipeline was successful

This commit is contained in:
Michael Balsillie 2022-08-22 00:17:28 +12:00
parent c3502b6591
commit d88041bfbf

View File

@ -37,7 +37,7 @@ pipeline:
- REGISTRY_USER=michael - REGISTRY_USER=michael
- ORGANIZATION=containers - ORGANIZATION=containers
- REPO=matrix-service-synapse - REPO=matrix-service-synapse
- BUILD_ARGS="PYTHON_VERSION=3.10" - BUILD_ARGS=PYTHON_VERSION=3.10
- DOCKERFILE=docker/Dockerfile - DOCKERFILE=docker/Dockerfile
- CONTEXT=. - CONTEXT=.
commands: commands:
@ -49,7 +49,7 @@ pipeline:
-t $REGISTRY/$ORGANIZATION/$REPO:$(date +%F) -t $REGISTRY/$ORGANIZATION/$REPO:$(date +%F)
-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