Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
gitlab-ce
Commits
a104f3ec
Commit
a104f3ec
authored
Sep 27, 2018
by
Cauan Cabral
Committed by
Rémy Coutable
Sep 27, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update using_docker_build.md
parent
ad597a6a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
doc/ci/docker/using_docker_build.md
doc/ci/docker/using_docker_build.md
+2
-2
No files found.
doc/ci/docker/using_docker_build.md
View file @
a104f3ec
...
...
@@ -314,8 +314,8 @@ build:
stage
:
build
script
:
-
docker pull $CONTAINER_IMAGE:latest ||
true
-
docker build --cache-from $CONTAINER_IMAGE:latest --tag $CONTAINER_IMAGE:$CI_
BUILD_REF
--tag $CONTAINER_IMAGE:latest .
-
docker push $CONTAINER_IMAGE:$CI_
BUILD_REF
-
docker build --cache-from $CONTAINER_IMAGE:latest --tag $CONTAINER_IMAGE:$CI_
COMMIT_SHA
--tag $CONTAINER_IMAGE:latest .
-
docker push $CONTAINER_IMAGE:$CI_
COMMIT_SHA
-
docker push $CONTAINER_IMAGE:latest
```
...
...
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