chore(gitlab-ci): ...
This commit is contained in:
parent
d120660455
commit
17ccec3d1a
10
flake.nix
10
flake.nix
@ -102,17 +102,17 @@
|
|||||||
mkPushUniworxDocker = dockerImage: pkgs.writeScriptBin "push-${dockerImage.name}" ''
|
mkPushUniworxDocker = dockerImage: pkgs.writeScriptBin "push-${dockerImage.name}" ''
|
||||||
#!${pkgs.zsh}/bin/zsh -xe
|
#!${pkgs.zsh}/bin/zsh -xe
|
||||||
|
|
||||||
target=''${1-docker://registry.gitlab.com/fradrive/fradrive/uniworx-demo:${dockerImage.imageTag}}
|
target=''${1-docker://registry.gitlab.com/fradrive/fradrive/${dockerImage.name}:${dockerImage.imageTag}}
|
||||||
[[ -n "''${1}" ]] && shift
|
[[ -n "''${1}" ]] && shift
|
||||||
${pkgs.skopeo}/bin/skopeo ''${@} --insecure-policy copy docker-archive://${dockerImage} ''${target}
|
${pkgs.skopeo}/bin/skopeo ''${@} --insecure-policy copy docker-archive://${dockerImage} ''${target}
|
||||||
'';
|
'';
|
||||||
uniworxBackend = pkgs.symlinkJoin {
|
uniworxBackend = pkgs.symlinkJoin {
|
||||||
name = "uniworx";
|
name = "uniworx";
|
||||||
paths = [
|
paths = [
|
||||||
pkgs."uniworx:exe:uniworx"
|
haskellFlake.packages."uniworx:exe:uniworx"
|
||||||
pkgs."uniworx:exe:uniworxdb"
|
haskellFlake.packages."uniworx:exe:uniworxdb"
|
||||||
pkgs."uniworx:exe:uniworxload"
|
haskellFlake.packages."uniworx:exe:uniworxload"
|
||||||
pkgs."uniworx:exe:uniworx-wflint"
|
haskellFlake.packages."uniworx:exe:uniworx-wflint"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
in {
|
in {
|
||||||
|
|||||||
Reference in New Issue
Block a user