Revert "build(docker): build and push with Compose"

This reverts commit bf9f9d5fa1.
This commit is contained in:
Oliver Davies 2021-10-24 02:55:46 +01:00
parent bf9f9d5fa1
commit d3175dc980

11
run
View file

@ -21,13 +21,16 @@ function deploy {
}
function docker:build-images {
docker-compose build --file docker-compose-production.yaml
DOCKER_TAG=latest docker-compose build --file docker-compose-production.yaml
docker image build . \
--file tools/docker/images/Dockerfile \
--tag ${DOCKER_WEB_IMAGE_NAME}:${DOCKER_TAG} \
--tag ${DOCKER_WEB_IMAGE_NAME}:latest \
--target=production
}
function docker:push-images {
docker-compose push --file docker-compose-production.yaml
DOCKER_TAG=latest docker-compose push --file docker-compose-production.yaml
docker image push ${DOCKER_WEB_IMAGE_NAME}:${DOCKER_TAG}
docker image push ${DOCKER_WEB_IMAGE_NAME}:latest
}
function help {