Skip to content
This repository was archived by the owner on Jun 16, 2026. It is now read-only.

Commit 23e054e

Browse files
committed
replaces crane with nixpkgs#crane
1 parent b96700e commit 23e054e

2 files changed

Lines changed: 9 additions & 2 deletions

File tree

.github/workflows/build-nix-image.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,8 @@ jobs:
106106
${{ inputs.nix-cache-substituter != '' && format('substituters = https://cache.nixos.org {0}', inputs.nix-cache-substituter) || '' }}
107107
${{ inputs.nix-cache-public-key != '' && format('trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= {0}', inputs.nix-cache-public-key) || '' }}
108108
109-
- uses: imjasonh/setup-crane@v0.1
109+
- name: Install crane
110+
run: nix profile install nixpkgs#crane
110111

111112
- name: Write Nix cache secret key
112113
if: ${{ inputs.nix-cache-s3-endpoint != '' }}

.github/workflows/full-nix.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,13 @@ jobs:
218218
outputs:
219219
manifest-tag: ${{ steps.manifest.outputs.manifest-tag }}
220220
steps:
221-
- uses: imjasonh/setup-crane@v0.1
221+
- uses: cachix/install-nix-action@v31
222+
with:
223+
extra_nix_config: |
224+
experimental-features = nix-command flakes
225+
226+
- name: Install crane
227+
run: nix profile install nixpkgs#crane
222228

223229
- name: Log in to ghcr.io
224230
run: crane auth login ghcr.io -u ${{ github.actor }} -p ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)