Drone: Always have image_pull_secrets (#55530)

Having it doesn't prevent pulling any images, so it's easier if it's everywhere
This commit is contained in:
Julien Duchesne
2022-09-21 06:27:43 +00:00
committed by GitHub
parent 667993eae7
commit a44c0040a9
2 changed files with 68 additions and 2 deletions
+1 -1
View File
@@ -50,6 +50,7 @@ def pipeline(
},
}],
'depends_on': depends_on,
'image_pull_secrets': [pull_secret],
}
if environment:
pipeline.update({
@@ -60,7 +61,6 @@ def pipeline(
pipeline.update(platform_conf)
if edition in ('enterprise', 'enterprise2'):
pipeline['image_pull_secrets'] = [pull_secret]
# We have a custom clone step for enterprise
pipeline['clone'] = {
'disable': True,