diff --git a/flake.nix b/flake.nix index d55f7ec..2673360 100644 --- a/flake.nix +++ b/flake.nix @@ -129,16 +129,22 @@ '' ''mkdir -p /var/tmp'' ]; - script = [ - (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 - '' - ]; + script = + [ + ''buildah manifest create localhost/nix-coder-image'' + ] + ++ ( + builtins.map (sys: '' + buildah manifest add localhost/nix-coder-image 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 + '' + ]; }; }; };