Change build and publish to use the GCR of one of my projects (hard code for now)

This commit is contained in:
Christopher Hoskin 2018-05-18 13:47:06 +01:00
parent 46f2ff051c
commit de74ec5094

View file

@ -34,10 +34,10 @@ test_acceptance: ci_clean # clear the database before each acceptance test run
$(DOCKER_COMPOSE) run --rm test_acceptance -- ${MOCHA_ARGS}
build:
docker build --pull --tag quay.io/sharelatex/$(PROJECT_NAME):$(BRANCH_NAME)-$(BUILD_NUMBER) .
docker build --pull --tag gcr.io/csh-gcdm-test/$(PROJECT_NAME):$(BRANCH_NAME)-$(BUILD_NUMBER) .
publish:
docker push quay.io/sharelatex/$(PROJECT_NAME):$(BRANCH_NAME)-$(BUILD_NUMBER)
docker push gcr.io/csh-gcdm-test/$(PROJECT_NAME):$(BRANCH_NAME)-$(BUILD_NUMBER)
ci:
# On the CI server, we want to run our tests in the image that we
@ -59,4 +59,4 @@ ci_clean:
.PHONY:
all install compile clean test test_unit test_acceptance \
test_acceptance_start_service test_acceptance_stop_service \
test_acceptance_run build publish ci ci_clean
test_acceptance_run build publish ci ci_clean