Commit 680fc36f authored by Rafael Chaves Freitas's avatar Rafael Chaves Freitas
Browse files

novo caminho para o Dockerfile e nome da imagem base no gitlab-ci

parent 0a5635ca
......@@ -15,8 +15,8 @@ build to homolog:
stage: build
script:
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
- docker pull hacklab/mapasculturais:develop
- docker build -t $PROJECT_IMAGE -f compose/Dockerfile .
- docker pull mapasculturais/mapasculturais:develop
- docker build -t $PROJECT_IMAGE -f compose/production/Dockerfile .
- docker push $PROJECT_IMAGE
only:
- /master/
......@@ -40,8 +40,8 @@ build to production:
stage: build
script:
- docker login -u "gitlab-ci-token" -p "$CI_JOB_TOKEN" $CI_REGISTRY
- docker pull hacklab/mapasculturais:develop
- docker build -t $PROJECT_IMAGE -f compose/Dockerfile .
- docker pull mapasculturais/mapasculturais:develop
- docker build -t $PROJECT_IMAGE -f compose/production/Dockerfile .
- docker tag $PROJECT_IMAGE "$CI_REGISTRY_IMAGE:latest"
- docker push $PROJECT_IMAGE
- docker push "$CI_REGISTRY_IMAGE:latest"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment