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
Tatuya Kamada
gitlab-ce
Commits
50cd3990
Commit
50cd3990
authored
Feb 20, 2017
by
Grzegorz Bizon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove legacy scripts for building docker images
[ci skip]
parent
7d20e476
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
25 deletions
+0
-25
qa/bin/docker
qa/bin/docker
+0
-25
No files found.
qa/bin/docker
deleted
100755 → 0
View file @
7d20e476
#!/bin/sh
case
"
$1
"
in
build
)
docker pull
$CI_REGISTRY_IMAGE
:latest
docker build
--cache-from
$CI_REGISTRY_IMAGE
:latest
\
-t
$CI_REGISTRY_IMAGE
:ce-latest
-t
$CI_REGISTRY_IMAGE
:ee-latest
\
-t
$CI_REGISTRY_IMAGE
:ce-nightly
-t
$CI_REGISTRY_IMAGE
:ee-nightly
\
-t
$CI_REGISTRY_IMAGE
:latest
.
;;
publish
)
test
-n
"
$CI_BUILD_TOKEN
"
||
exit
1
docker login
--username
gitlab-ci-token
--password
$CI_BUILD_TOKEN
registry.gitlab.com
docker push
$CI_REGISTRY_IMAGE
:latest
docker push
$CI_REGISTRY_IMAGE
:ce-latest
docker push
$CI_REGISTRY_IMAGE
:ee-latest
docker push
$CI_REGISTRY_IMAGE
:ee-nightly
docker push
$CI_REGISTRY_IMAGE
:ee-nightly
docker
logout
registry.gitlab.com
;;
*
)
echo
"Usage:
$0
[build|publish]"
exit
1
;;
esac
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