albatros/.albatros

11 lines
340 B
Text
Raw Normal View History

2023-03-16 11:24:23 +00:00
#!/usr/bin/env bash
2023-03-16 11:53:12 +00:00
set -euxo pipefail
2023-03-16 11:26:20 +00:00
nix build
2023-03-16 11:53:12 +00:00
2023-03-24 13:35:43 +00:00
#if [[ $BRANCH == "main" && -f $SECRET_PATH ]]; then
# mkdir -p /kaniko/.docker
# cp $SECRET_PATH /kaniko/.docker/config.json
# export HOME=/kaniko
# nix develop --command sh -c "executor --force --destination dxflrs/albatros:${COMMIT} --context dir://`pwd` --verbosity=debug" 1>&2
#fi