## SPDX-FileCopyrightText: 2025 Gergely Nagy ## SPDX-FileContributor: Gergely Nagy ## ## SPDX-License-Identifier: MIT name: build on: push: branches: - 'main' jobs: build: runs-on: nixos-latest steps: - name: checkout uses: actions/checkout@v4 - name: setup magic attic cache uses: actions/magic-attic-cache@main with: ATTIC_TOKEN: ${{ secrets.ATTIC_TOKEN }} - name: build uses: actions/nix/build@main with: logs: true package: iocaine - name: build the container image uses: actions/nix/build@main with: logs: true package: container-image - name: load the container image into docker run: | docker load