From 115dd077ca8d50e92f898d604e731be04ed2e1be Mon Sep 17 00:00:00 2001 From: Quentin Dufour Date: Thu, 18 May 2023 11:56:10 +0200 Subject: add build scripts with alba --- .albatros | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to '.albatros') diff --git a/.albatros b/.albatros index 6439de6..e190d1e 100755 --- a/.albatros +++ b/.albatros @@ -2,3 +2,22 @@ set -euxo pipefail nix build --print-build-logs .#packages.x86_64-unknown-linux-musl.debug + +if [[ ! -z $TAG && ! -z $DOCKER_AUTH ]]; then + +# Configure Docker Auth +mkdir .docker +cat > .docker/config.json <