From b6f3fbf71184c8e10aee696f8f9bc4be6982b049 Mon Sep 17 00:00:00 2001 From: Quentin Dufour Date: Thu, 16 Mar 2023 12:53:12 +0100 Subject: [PATCH] fix build script --- .albatros | 5 ++++- example/albatros.json | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.albatros b/.albatros index 05d8951..cfb0387 100755 --- a/.albatros +++ b/.albatros @@ -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 diff --git a/example/albatros.json b/example/albatros.json index 1a33c22..21634ec 100644 --- a/example/albatros.json +++ b/example/albatros.json @@ -1,6 +1,6 @@ { "ref": "refs/heads/main", - "after": "71cf9a125e125456533242a9beb1b234ce1d3e54", + "after": "fb3853c72d8f6046d5b250da0f850df433b1ed47", "repository": { "owner": { "username": "quentin"