aboutsummaryrefslogtreecommitdiff
path: root/aux/guix/with-container.sh
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2021-08-13 23:09:12 -0300
committerEuAndreh <eu@euandre.org>2021-08-13 23:09:12 -0300
commita6a5d25c3f91cbcb9018718c15fae2726bc7ea41 (patch)
treeaea107638db25359c08aed86be78d9920983911e /aux/guix/with-container.sh
parenttests/lib.sh: Make error reporting consistent (diff)
downloadgit-permalink-a6a5d25c3f91cbcb9018718c15fae2726bc7ea41.tar.gz
git-permalink-a6a5d25c3f91cbcb9018718c15fae2726bc7ea41.tar.xz
aux/ci/ci-build.sh: Publish Docker image of the latest environment
Diffstat (limited to 'aux/guix/with-container.sh')
-rwxr-xr-xaux/guix/with-container.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/aux/guix/with-container.sh b/aux/guix/with-container.sh
index 71e13e0..641b455 100755
--- a/aux/guix/with-container.sh
+++ b/aux/guix/with-container.sh
@@ -7,6 +7,9 @@ if [ -z "${1:-}" ]; then
elif [ "$1" = '-p' ]; then
guix time-machine --fallback -C aux/guix/pinned-channels.scm -- \
environment --fallback -m aux/guix/manifest.scm --pure -C
+elif [ "$1" = '-C' ]; then
+ guix time-machine --fallback -C aux/guix/pinned-channels.scm -- \
+ pack -f docker -S/bin=bin -m aux/guix/manifest.scm
else
guix time-machine --fallback -C aux/guix/pinned-channels.scm -- \
environment --fallback -m aux/guix/manifest.scm --pure -C \