Skip to content

Commit 8bae67d

Browse files
marmijojlebon
authored andcommitted
jobs/build-node-image: fix skopeo arch mapping for aarch64
The skopeo command expects Go-style architecture names like amd64 and arm64. Use the new rpm_to_go_arch() helper to properly handle all architecture names.
1 parent 3085d33 commit 8bae67d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jobs/build-node-image.Jenkinsfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ lock(resource: "build-node-image") {
184184
cosa shell basename \$link
185185
""")
186186
shwrap("cosa decompress --build $build_id")
187-
def skopeo_arch_override = (arch == "x86_64") ? "amd64" : arch
187+
def skopeo_arch_override = rpm_to_go_arch(arch)
188188
shwrap("cosa shell skopeo copy --override-arch ${skopeo_arch_override} --authfile $REGISTRY_AUTH_FILE docker://${registry_staging_repo}@${node_image_manifest_digest} oci-archive:./openshift-${arch}.ociarchive")
189189
kola(
190190
cosaDir: WORKSPACE,

0 commit comments

Comments
 (0)