diff --git a/.github/workflows/builds.yml b/.github/workflows/builds.yml index 23502489..8f4e5c00 100644 --- a/.github/workflows/builds.yml +++ b/.github/workflows/builds.yml @@ -18,6 +18,8 @@ jobs: container: rust:latest steps: - uses: actions/checkout@v4 + # Needed to we can get the build revision, required by build.rs + - run: git config --global --add safe.directory /__w/evebox/evebox - run: cargo test --all build-dist: diff --git a/build-dist.sh b/build-dist.sh index 00dadff6..a86d2b3d 100755 --- a/build-dist.sh +++ b/build-dist.sh @@ -44,7 +44,8 @@ cross_run() { fi dockerfile="./docker/builder/Dockerfile.cross" tag=${BUILDER_TAG:-"evebox/builder:cross"} - if test -t; then + env + if [ -z "${GITHUB_REPOSITORY}" && test -t ]; then it="-it" else it=""