fix(CI): fix empty line breaking buildah manifest create command

This commit is contained in:
technofab 2024-04-24 22:38:19 +02:00
parent 62aad66435
commit aebad80568

View file

@ -130,12 +130,10 @@
''mkdir -p /var/tmp''
];
script = [
''
buildah manifest create localhost/nix-coder-image \
${lib.concatStrings (
builtins.map (sys: "docker-archive:dist/nix-coder-image_${sys}.tar.gz \\") SYSTEMS
)}
''
(lib.concatStringsSep " " (
["buildah manifest create localhost/nix-coder-image"]
++ builtins.map (sys: "docker-archive:dist/nix-coder-image_${sys}.tar.gz ") SYSTEMS
))
''
buildah manifest push --all localhost/nix-coder-image \
docker://''${CI_REGISTRY_IMAGE}/nix-coder-image:$CI_COMMIT_SHORT_SHA