Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
tango
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Jira issues
Open Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
LOFAR2.0
tango
Commits
e83126c6
Commit
e83126c6
authored
2 years ago
by
Corné Lukken
Browse files
Options
Downloads
Patches
Plain Diff
L2SS-947
: Ignore pull failure for image builds
parent
48c437c4
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!414
L2SS-947: Ignore pull failure for image builds
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
sbin/tag_and_push_docker_image.sh
+2
-2
2 additions, 2 deletions
sbin/tag_and_push_docker_image.sh
with
2 additions
and
2 deletions
sbin/tag_and_push_docker_image.sh
+
2
−
2
View file @
e83126c6
...
...
@@ -159,9 +159,9 @@ if [ ! -z "${1+x}" ] && [ "${1}" != "pull" ]; then
local_url
=
"
${
LOCAL_DOCKER_REGISTRY_HOST
}
/
${
LOCAL_DOCKER_REGISTRY_USER
}
/
${
2
}
"
# If tag is not latest, than it is not a tagged master build and we can
# pull the latest image as cache.
# pull the latest image as cache
(if it already exists)
.
if
[
"
${
tag
}
"
!=
"latest"
]
;
then
docker pull
"
${
local_url
}
:latest"
docker pull
"
${
local_url
}
:latest"
||
true
fi
make build
"
${
1
}
"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment