File tree Expand file tree Collapse file tree 4 files changed +7
-6
lines changed Expand file tree Collapse file tree 4 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -29,6 +29,7 @@ variables:
29
29
- otel_collector_endpoint
30
30
- otel_parent_id
31
31
- otel_trace_id
32
+ - build_tag_type
32
33
- registry
33
34
- requester
34
35
- skip_tags
Original file line number Diff line number Diff line change @@ -10,9 +10,9 @@ parameters:
10
10
value : 00:00
11
11
description : Pin tags at this time of the day. Midnight by default.
12
12
13
- - key : build_tag_id_prefix
13
+ - key : build_tag_type
14
14
value : release
15
- description : Prefix for periodic builds for the image. This identifies a periodic build .
15
+ description : The build type, this is added to the image tag. Used for periodic and release builds .
16
16
17
17
variables :
18
18
- &setup_group
Original file line number Diff line number Diff line change @@ -174,9 +174,9 @@ parameters:
174
174
value : 10:00
175
175
description : Pin tags at this time of the day. Midnight by default for periodic and 10 for releases.
176
176
177
- - key : build_tag_id_prefix
177
+ - key : build_tag_type
178
178
value : release
179
- description : Prefix for release builds for the image. This identifies a release build .
179
+ description : The build type, this is added to the image tag. Used for periodic and release builds .
180
180
181
181
- key : OVERRIDE_VERSION_ID
182
182
value : " "
Original file line number Diff line number Diff line change @@ -243,7 +243,7 @@ def build_id() -> str:
243
243
"""
244
244
245
245
try :
246
- build_tag_id_prefix = os .environ ["build_tag_id_prefix " ]
246
+ build_tag_type = os .environ ["build_tag_type " ]
247
247
except KeyError :
248
248
pass
249
249
@@ -264,7 +264,7 @@ def build_id() -> str:
264
264
265
265
string_time = date .strftime ("%Y%m%dT%H%M%SZ" )
266
266
267
- return f"{ build_tag_id_prefix } -{ string_time } "
267
+ return f"{ string_time } -{ build_tag_type } "
268
268
269
269
270
270
def get_release () -> Dict :
You can’t perform that action at this time.
0 commit comments