Skip to content

Commit

Permalink
Fix skopeo destination url
Browse files Browse the repository at this point in the history
Previously skopeo tried to push images to e.g.
  docker://docker.mantis.ws/morpho-node/docker.mantis.ws/morpho-node:<tag>
which despite seeming wrong, apparently exited without error
This commit fixes it to push to the correct
  docker://docker.mantis.ws/morpho-node:<tag>
instead
  • Loading branch information
infinisil authored and jonringer committed Jan 22, 2021
1 parent bfd430a commit 104f1fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/run-nomad-job.nix
Expand Up @@ -20,7 +20,7 @@ let
})"
${skopeo}/bin/skopeo copy \
"docker-archive://$storePath" \
"docker://${registry}/${repo}/${image.imageName}:${image.imageTag}" \
"docker://${registry}/${repo}:${image.imageTag}" \
--dest-creds "developer:$dockerPassword"
fi
'';
Expand Down

0 comments on commit 104f1fc

Please sign in to comment.