Trying different syntax

This commit is contained in:
Aaron Louie 2020-04-14 17:02:30 -04:00
parent 00ad016535
commit d6e76a1bc5
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ export PATH=$PATH:$HOME/.local/bin;
# Build and push Docker image to Docker Hub # Build and push Docker image to Docker Hub
echo "$DOCKER_TOKEN" | docker login -u "$DOCKER_USERNAME" --password-stdin; echo "$DOCKER_TOKEN" | docker login -u "$DOCKER_USERNAME" --password-stdin;
docker build \ docker build \
--build-arg APP_ENVIRONMENT="${APP_ENVIRONMENT}" \ --build-arg APP_ENVIRONMENT="$APP_ENVIRONMENT" \
--no-cache -t sartography/cr-connect-bpmn:latest . \ --no-cache -t sartography/cr-connect-bpmn:latest . \
|| exit 1; || exit 1;
docker push sartography/cr-connect-bpmn:latest || exit 1; docker push sartography/cr-connect-bpmn:latest || exit 1;