#!/usr/bin/env bash set -euxo pipefail nix run .#build-static nix run .#build-container if [[ $BRANCH == "main" && -f $SECRET_PATH ]]; then # Load secrets source $SECRET_PATH # Configure Docker Auth cat > .docker.json <