fix CI (again)
This commit is contained in:
parent
92fe5af50e
commit
2a226333ec
1 changed files with 16 additions and 16 deletions
|
@ -17,16 +17,16 @@ jobs:
|
||||||
container:
|
container:
|
||||||
image: ghcr.io/catthehacker/ubuntu:act-22.04
|
image: ghcr.io/catthehacker/ubuntu:act-22.04
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout sources
|
- uses: actions/checkout@v4
|
||||||
uses: actions/checkout@v4
|
|
||||||
|
|
||||||
- name: Install Nix
|
- uses: https://github.com/DeterminateSystems/nix-installer-action@main
|
||||||
uses: https://github.com/cachix/install-nix-action@V27
|
|
||||||
with:
|
with:
|
||||||
nix_path: nixpkgs=channel:nixos-unstable
|
extra-conf: |
|
||||||
github_access_token: ${{ secrets.GH_PUBLIC_REPO_ACCESS_TOKEN }}
|
access-tokens = ${{ secrets.GH_PUBLIC_REPO_ACCESS_TOKEN }}
|
||||||
|
|
||||||
- name: Authenticate with Cachix
|
- uses: DeterminateSystems/magic-nix-cache-action@main
|
||||||
|
|
||||||
|
- name: Setup Cachix
|
||||||
uses: https://github.com/cachix/cachix-action@v15
|
uses: https://github.com/cachix/cachix-action@v15
|
||||||
with:
|
with:
|
||||||
name: adtya
|
name: adtya
|
||||||
|
@ -34,7 +34,7 @@ jobs:
|
||||||
|
|
||||||
- name: Build and push flake output
|
- name: Build and push flake output
|
||||||
run: |
|
run: |
|
||||||
nix build -L .#caddy --access-tokens "github.com=${{ secrets.GH_PUBLIC_REPO_ACCESS_TOKEN }}"
|
nix build -L .#caddy
|
||||||
|
|
||||||
publish-aarch64:
|
publish-aarch64:
|
||||||
name: Push to Binary Cache (aarch64)
|
name: Push to Binary Cache (aarch64)
|
||||||
|
@ -42,16 +42,16 @@ jobs:
|
||||||
container:
|
container:
|
||||||
image: ghcr.io/catthehacker/ubuntu:act-22.04
|
image: ghcr.io/catthehacker/ubuntu:act-22.04
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout sources
|
- uses: actions/checkout@v4
|
||||||
uses: actions/checkout@v4
|
|
||||||
|
|
||||||
- name: Install Nix
|
- uses: https://github.com/DeterminateSystems/nix-installer-action@main
|
||||||
uses: https://github.com/cachix/install-nix-action@V27
|
|
||||||
with:
|
with:
|
||||||
nix_path: nixpkgs=channel:nixos-unstable
|
extra-conf: |
|
||||||
github_access_token: ${{ secrets.GH_PUBLIC_REPO_ACCESS_TOKEN }}
|
access-tokens = ${{ secrets.GH_PUBLIC_REPO_ACCESS_TOKEN }}
|
||||||
|
|
||||||
- name: Authenticate with Cachix
|
- uses: DeterminateSystems/magic-nix-cache-action@main
|
||||||
|
|
||||||
|
- name: Setup Cachix
|
||||||
uses: https://github.com/cachix/cachix-action@v15
|
uses: https://github.com/cachix/cachix-action@v15
|
||||||
with:
|
with:
|
||||||
name: adtya
|
name: adtya
|
||||||
|
@ -59,5 +59,5 @@ jobs:
|
||||||
|
|
||||||
- name: Build and push flake output
|
- name: Build and push flake output
|
||||||
run: |
|
run: |
|
||||||
nix build -L .#caddy --access-tokens "github.com=${{ secrets.GH_PUBLIC_REPO_ACCESS_TOKEN }}"
|
nix build -L .#caddy
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue