do not duplicate architecture var

This commit is contained in:
Sebastian Hugentobler 2025-06-04 13:43:26 +02:00
parent bda722657c
commit 905ef57ee7
Signed by: shu
SSH key fingerprint: SHA256:ppcx6MlixdNZd5EUM1nkHOKoyQYoJwzuQKXM6J/t66M

View file

@ -34,7 +34,6 @@ def call(Map config = [:]) {
} }
parallel parallelStages parallel parallelStages
env.ARCHITECTURES = architectures.join(',')
} }
} }
} }
@ -43,8 +42,6 @@ def call(Map config = [:]) {
agent any agent any
steps { steps {
script { script {
def architectures = env.ARCHITECTURES.split(',')
for (arch in architectures) { for (arch in architectures) {
unstash "${arch}-image" unstash "${arch}-image"
sh "podman load -i ${arch}-${env.BUILD_NUMBER}.tar" sh "podman load -i ${arch}-${env.BUILD_NUMBER}.tar"