Skip to content

Commit

Permalink
HSEARCH-4920 Don't pre-pull images from elastic docker registry
Browse files Browse the repository at this point in the history
  • Loading branch information
marko-bekhta committed Sep 19, 2023
1 parent ec01e44 commit 82cd9f4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ci/dependency-update/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,10 @@ def pullContainerImages() {
// Cannot use a foreach loop because then Jenkins wants to serialize the iterator,
// and obviously the iterator is not serializable.
for (int i = 0; i < containerImageRefs.length; i++) {
if (containerImageRef.startsWith('docker.elastic.co')) {
// an image not from a docker hub, so let's ignore it:
continue
}
containerImageRef = containerImageRefs[i]
docker.image(containerImageRef).pull()
}
Expand Down

0 comments on commit 82cd9f4

Please sign in to comment.