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
Viewing commit
7d89f911
Show latest version
1 file
+
3
−
3
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
7d89f911
fix: docker_push docs
· 7d89f911
Wouter Deconinck
authored
2 years ago
gitlab-ci/docker_push.sh
+
3
−
3
Options
@@ -17,8 +17,8 @@ function print_the_help {
echo
" --dockerhub Publish to DH only"
echo
" positional At least one export tag (e.g., v3.0-stable)"
echo
""
echo
" Execute docker push from image:
input_tag
to REGISTRY/image:export_tag for"
echo
"
for
all export tags. Will push to
$CI_REGISTRY
, and optionally also to"
echo
" Execute docker push from image:
label
to REGISTRY/image:export_tag for"
echo
" all export tags. Will push to
$CI_REGISTRY
, and optionally also to"
echo
" Dockerhub if the DH_PUSH environment variable is set"
echo
""
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
exit
1
fi
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
exit
1
fi
Loading