name: Image Build on: workflow_dispatch: push: jobs: prepare: name: Prepare to Build runs-on: ubuntu-latest-docker container: image: node:18 steps: - name: Install deps run: apt update && apt -y install sudo - uses: actions/checkout@v4 - name: Install Nix uses: https://github.com/DeterminateSystems/nix-installer-action@v12 - name: Run the Magic Nix Cache uses: https://github.com/DeterminateSystems/magic-nix-cache-action@v7 - name: Build release run: nix build .#container --impure