chore(nix): mkPushDocker to gitlab.uniworx.de

This commit is contained in:
Sarah Vaupel 2023-05-15 14:52:35 +00:00
parent 68038f3c71
commit 7d5e6a36fd

View File

@ -134,7 +134,7 @@
mkPushDocker = imageName: dockerImage: pkgs.writeScriptBin "push-${dockerImage.imageName}" ''
#!${pkgs.zsh}/bin/zsh -xe
target=''${1-docker://registry.gitlab.com/fradrive/fradrive/${imageName}:${dockerImage.imageTag}}
target=''${1-docker://registry.gitlab.uniworx.de/fradrive/fradrive/${imageName}:${dockerImage.imageTag}}
[[ -n "''${1}" ]] && shift
${pkgs.skopeo}/bin/skopeo ''${@} --insecure-policy copy docker-archive://${dockerImage} ''${target}
'';