aboutsummaryrefslogtreecommitdiff
path: root/aux/ci/ci-build.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/ci/ci-build.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/ci/ci-build.sh')
-rwxr-xr-xaux/ci/ci-build.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/aux/ci/ci-build.sh b/aux/ci/ci-build.sh
index 396fbff..43cdb85 100755
--- a/aux/ci/ci-build.sh
+++ b/aux/ci/ci-build.sh
@@ -38,6 +38,11 @@ EOF
sh aux/ci/report.sh -n "$PROJECT" -o public
rsync -av public/ "/srv/http/$PROJECT/" --delete
+ if [ -f aux/guix/with-container.sh ]; then
+ cp "$(sh aux/guix/with-container.sh -C)"
+ "/srv/http/$PROJECT/docker-pack.tar.gz"
+ fi
+
printf "\n>>>\n>>> CI logs added as Git note."
printf "\n>>>\n>>> Run status was %s\n\n" "$STATUS"
}