Skip to content

Commit e9add89

Browse files
chore: layers for all
1 parent cf23570 commit e9add89

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

.gitlab/templates/pipeline.yaml.tpl

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,16 @@ publish self-monitoring sandbox layer ({{ $flavor.name }}):
190190
script:
191191
- .gitlab/scripts/publish_layers.sh
192192

193+
{{ end }} # if environment sandbox
194+
195+
{{ end }} # end environments
196+
197+
{{ end }} # end needs_layer_publish
198+
199+
{{ for $environment := (ds "environments").environments }}
200+
201+
{{ if eq $environment.name "sandbox" }}
202+
193203
publish private images ({{ $flavor.name }}):
194204
stage: publish
195205
tags: ["arch:amd64"]
@@ -207,12 +217,10 @@ publish private images ({{ $flavor.name }}):
207217
script:
208218
- .gitlab/scripts/build_private_image.sh
209219

210-
{{ end }} # if environment sandbox
220+
{{ end }} # end if environment sandbox
211221

212222
{{ end }} # end environments
213223

214-
{{ end }} # end needs_layer_publish
215-
216224
{{ end }} # end flavors
217225

218226
{{ range $architecture := (ds "architectures").architectures }}

0 commit comments

Comments
 (0)