fix build script
Some checks reported errors
Albatros build

This commit is contained in:
Quentin 2023-03-16 12:53:12 +01:00
parent fb3853c72d
commit b6f3fbf711
Signed by: quentin
GPG key ID: E9602264D639FF68
2 changed files with 5 additions and 2 deletions

View file

@ -1,7 +1,10 @@
#!/usr/bin/env bash
set -euxo pipefail
nix build
if [[ $BRANCH == "main" && -f $SECRET_PATH ]]; then
mkdir -p /kaniko/.docker ; cp $SECRET_PATH /kaniko/docker/.config.json
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

View file

@ -1,6 +1,6 @@
{
"ref": "refs/heads/main",
"after": "71cf9a125e125456533242a9beb1b234ce1d3e54",
"after": "fb3853c72d8f6046d5b250da0f850df433b1ed47",
"repository": {
"owner": {
"username": "quentin"