File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
testflows/github/hetzner/runners Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -101,13 +101,17 @@ def count_type(v):
101
101
102
102
103
103
def image_type (v , separator = ":" ):
104
- """Image type argument. Example: system:ubuntu-22.04"""
104
+ """Image type argument. Example: x86: system:ubuntu-22.04"""
105
105
try :
106
106
image_architecture , image_type , image_name = v .split (separator , 2 )
107
107
assert image_type in ("system" , "snapshot" , "backup" , "app" )
108
108
except :
109
109
raise ArgumentTypeError (f"invalid image { v } " )
110
110
111
+ if image_architecture in ("aarch64" , "arm64" ):
112
+ # support aarch64, arm64 alias for arm
113
+ image_architecture = "arm"
114
+
111
115
if image_type in ("system" , "app" ):
112
116
return Image (type = image_type , architecture = image_architecture , name = image_name )
113
117
else :
You can’t perform that action at this time.
0 commit comments