Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
eic_container
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
containers
eic_container
Merge requests
!455
fix: docker_push docs
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
fix: docker_push docs
wdconinc-master-patch-37906
into
master
Overview
0
Commits
1
Pipelines
0
Changes
1
Merged
Wouter Deconinck
requested to merge
wdconinc-master-patch-37906
into
master
2 years ago
Overview
0
Commits
1
Pipelines
0
Changes
1
Expand
0
0
Merge request reports
Compare
master
version 1
74803cc0
2 years ago
master (base)
and
version 1
latest version
7d89f911
1 commit,
2 years ago
version 1
74803cc0
1 commit,
2 years ago
1 file
+
3
−
3
Side-by-side
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
gitlab-ci/docker_push.sh
+
3
−
3
Options
@@ -17,8 +17,8 @@ function print_the_help {
@@ -17,8 +17,8 @@ function print_the_help {
echo
" --dockerhub Publish to DH only"
echo
" --dockerhub Publish to DH only"
echo
" positional At least one export tag (e.g., v3.0-stable)"
echo
" positional At least one export tag (e.g., v3.0-stable)"
echo
""
echo
""
echo
" Execute docker push from image:
input_tag
to REGISTRY/image:export_tag for"
echo
" Execute docker push from image:
label
to REGISTRY/image:export_tag for"
echo
"
for
all export tags. Will push to
$CI_REGISTRY
, and optionally also to"
echo
" all export tags. Will push to
$CI_REGISTRY
, and optionally also to"
echo
" Dockerhub if the DH_PUSH environment variable is set"
echo
" Dockerhub if the DH_PUSH environment variable is set"
echo
""
echo
""
echo
"EXAMPLE: ./docker_push.sh -i eic_base -l 3.0.0 3.0.0 3.0-stable"
echo
"EXAMPLE: ./docker_push.sh -i eic_base -l 3.0.0 3.0.0 3.0-stable"
@@ -97,7 +97,7 @@ if [ -z $IMAGE ]; then
@@ -97,7 +97,7 @@ if [ -z $IMAGE ]; then
exit
1
exit
1
fi
fi
if
[
-z
$INPUT_TAG
]
;
then
if
[
-z
$INPUT_TAG
]
;
then
echo
"ERROR: no input_
T
ag given, please use -
t
<INPUT_TAG>"
echo
"ERROR: no input_
t
ag given, please use -
l
<INPUT_TAG>"
print_the_help
print_the_help
exit
1
exit
1
fi
fi
Loading