albatros/.albatros
Quentin fb3853c72d
Some checks reported errors
Albatros build
change in builder
2023-03-16 12:50:06 +01:00

8 lines
309 B
Bash
Executable file

#!/usr/bin/env bash
nix build
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"
fi