NixOS-based container for running GitHub actions
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

more debugging

+35 -66
-11
.forgejo/workflows/build.yaml
··· 22 22 - name: Reuse Lint 23 23 run: reuse lint 24 24 25 - - name: Debug 26 - run: | 27 - cat /tmp/entrypoint-env.txt || true 28 - ps aux 29 - ls -l /nix/var/nix/db/big-lock 30 - set 31 - nix run nixpkgs#hello 32 - 33 - - name: Build 34 - run: nix build -L .#nixos-runner 35 - 36 25 - name: Push container to local registry 37 26 run: push-container result 38 27 env:
+35
.github/workflows/build-test.yaml
··· 1 + # SPDX-FileCopyrightText: © 2023 Jeffrey C. Ollie 2 + # SPDX-License-Identifier: MIT 3 + 4 + name: build nixos-runner alternate 5 + 6 + on: 7 + push: 8 + branches: 9 + - main 10 + 11 + concurrency: 12 + group: ${{ github.workflow }}-${{ github.ref }} 13 + cancel-in-progress: true 14 + 15 + jobs: 16 + build-test: 17 + runs-on: ubuntu-latest 18 + container: ghcr.io/jcollie/nixos-runner:latest 19 + permissions: 20 + id-token: write 21 + contents: read 22 + packages: write 23 + steps: 24 + - name: Checkout code 25 + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 26 + with: 27 + fetch-depth: 0 28 + 29 + - name: Reuse Lint 30 + run: | 31 + nix run .#reuse-lint 32 + 33 + - name: Build 34 + run: | 35 + nix build -L .#nixos-runner
-55
.github/workflows/build2.yaml
··· 1 - # SPDX-FileCopyrightText: © 2023 Jeffrey C. Ollie 2 - # SPDX-License-Identifier: MIT 3 - 4 - name: build nixos-runner alternate 5 - 6 - on: 7 - push: 8 - branches: 9 - - main 10 - 11 - concurrency: 12 - group: ${{ github.workflow }}-${{ github.ref }} 13 - cancel-in-progress: true 14 - 15 - jobs: 16 - build2: 17 - runs-on: ubuntu-latest 18 - container: ghcr.io/jcollie/nixos-runner:latest 19 - permissions: 20 - id-token: write 21 - contents: read 22 - packages: write 23 - steps: 24 - - name: Checkout code 25 - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 26 - with: 27 - fetch-depth: 0 28 - 29 - - name: test 30 - run: | 31 - ps aux 32 - id 33 - whoami 34 - set 35 - echo $HOME 36 - ls -la $HOME 37 - echo $GITHUB_WORKSPACE 38 - ls -la $GITHUB_WORKSPACE 39 - cat /tmp/entrypoint-env.txt || true 40 - 41 - - name: Reuse Lint 42 - run: | 43 - nix run .#reuse-lint 44 - 45 - - name: Build 46 - run: | 47 - nix build -L .#nixos-runner 48 - 49 - # - name: Push container 50 - # run: nix run .#push-container -- result 51 - # env: 52 - # REGISTRY: ghcr.io 53 - # REPOSITORY: ${{ github.repository_owner }}/nixos-runner 54 - # USERNAME: ${{ github.actor }} 55 - # PASSWORD: ${{ github.token }}