Revert "build(docker): build and push with Compose"
This reverts commit bf9f9d5fa1
.
This commit is contained in:
parent
bf9f9d5fa1
commit
d3175dc980
11
run
11
run
|
@ -21,13 +21,16 @@ function deploy {
|
||||||
}
|
}
|
||||||
|
|
||||||
function docker:build-images {
|
function docker:build-images {
|
||||||
docker-compose build --file docker-compose-production.yaml
|
docker image build . \
|
||||||
DOCKER_TAG=latest docker-compose build --file docker-compose-production.yaml
|
--file tools/docker/images/Dockerfile \
|
||||||
|
--tag ${DOCKER_WEB_IMAGE_NAME}:${DOCKER_TAG} \
|
||||||
|
--tag ${DOCKER_WEB_IMAGE_NAME}:latest \
|
||||||
|
--target=production
|
||||||
}
|
}
|
||||||
|
|
||||||
function docker:push-images {
|
function docker:push-images {
|
||||||
docker-compose push --file docker-compose-production.yaml
|
docker image push ${DOCKER_WEB_IMAGE_NAME}:${DOCKER_TAG}
|
||||||
DOCKER_TAG=latest docker-compose push --file docker-compose-production.yaml
|
docker image push ${DOCKER_WEB_IMAGE_NAME}:latest
|
||||||
}
|
}
|
||||||
|
|
||||||
function help {
|
function help {
|
||||||
|
|
Loading…
Reference in a new issue