Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
iberculturaviva
iberculturaviva-mapas
Commits
680fc36f
Commit
680fc36f
authored
6 years ago
by
Rafael Chaves Freitas
Browse files
Options
Download
Email Patches
Plain Diff
novo caminho para o Dockerfile e nome da imagem base no gitlab-ci
parent
0a5635ca
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
.gitlab-ci.yml
.gitlab-ci.yml
+4
-4
No files found.
.gitlab-ci.yml
View file @
680fc36f
...
...
@@ -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"
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment