#!/bin/sh

dest="docker://registry.gitlab.com/spritely/guile-hoot:latest"
archive=$(guix pack -m ci-manifest.scm -C zstd -f docker -S /bin=bin | tail -1)
# Don't be alarmed by --insecure-policy, we're just skipping the
# annoyance of having to put a policy file somewhere in /etc which
# hinders automation.
skopeo copy --insecure-policy docker-archive:$archive $dest
