diff --git a/.github/workflows/pr-workflow.yml b/.github/workflows/pr-workflow.yml index 04aaac4e960..ce1b8d65fbb 100644 --- a/.github/workflows/pr-workflow.yml +++ b/.github/workflows/pr-workflow.yml @@ -513,14 +513,14 @@ jobs: push-docker-images: name: push-docker-images - if: ${{ inputs.github_event_name == 'push' }} + if: ${{ inputs.flow == 'push' }} needs: - draft-release-check runs-on: - x86_64-linux-32C-128GB-2TB concurrency: - group: ${{ inputs.github_workflow }}-push-docker-images-${{ github.event.pull_request.number || github.ref }} - cancel-in-progress: true + group: ${{inputs.flow}}-${{ inputs.github_workflow }}-push-docker-images-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: false steps: - name: Set up Cachix uses: cachix/cachix-action@586bf280495080c5a6d4868237ad28a860e4b309 diff --git a/flake/ci.md b/flake/ci.md index 7a6660e8c47..d8979a38fe7 100644 --- a/flake/ci.md +++ b/flake/ci.md @@ -21,22 +21,22 @@ set -o errexit adduser actions-runner --disabled-password && passwd --delete actions-runner sh <(curl -L https://nixos.org/nix/install) --daemon --yes && source /nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh cat > /etc/nix/nix.conf << EOF - experimental-features = nix-command flakes - sandbox = relaxed - narinfo-cache-negative-ttl = 0 - system-features = kvm - trusted-users = root actions-runner - max-jobs = 1 - cores = 64 - auto-optimise-store = true + # keep-derivations = true + # keep-outputs = true allow-import-from-derivation = true + auto-optimise-store = true + cores = 64 + experimental-features = nix-command flakes gc-reserved-space = 18388608 http-connections = 32 http2 = true - min-free = 100000000000 max-free = 1000000000000 - # keep-outputs = true - # keep-derivations = true + max-jobs = 1 + min-free = 100000000000 + narinfo-cache-negative-ttl = 0 + sandbox = relaxed + system-features = kvm + trusted-users = root actions-runner EOF service nix-daemon restart apt-get update && apt-get install apt-transport-https qemu-system-x86 ca-certificates curl gnupg software-properties-common --yes @@ -54,7 +54,7 @@ su actions-runner ## User ```bash -nix profile install "nixpkgs#git" "nixpkgs#git-lfs" "nixpkgs#cachix" "nixpkgs#process-compose" "nixpkgs#dasel" +nix profile install "nixpkgs#git" "nixpkgs#git-lfs" "nixpkgs#cachix" "nixpkgs#process-compose" "nixpkgs#dasel" "nixpkgs#nix-tree" ``` ### x84_64