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 authored and yrodiere committed Sep 20, 2023
1 parent e750e80 commit 514095e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -989,7 +989,8 @@
if ( isFalseString( '${test.database.run.cockroachdb.skip}' ) ) {
images += '${test.database.run.cockroachdb.image.name}:${test.database.run.cockroachdb.image.tag}'
}
new File('${containerImagesListFile}').append( images.join('\n') + '\n' )
// Exclude images from non-dockerhub repositories
new File('${containerImagesListFile}').append( images.findAll{ref -> !(ref ==~ /^(?!((.*\.)?docker\.io))[\w\d\.]+\/[\w\d\.]+\/[\w\d\.]+(:.+)?$/)}.join('\n') + '\n' )
]]></script>
</configuration>
</execution>
Expand Down

0 comments on commit 514095e

Please sign in to comment.