try determinate systems nix
Some checks failed
Build and Publish / build-release (push) Failing after 58s
Some checks failed
Build and Publish / build-release (push) Failing after 58s
This commit is contained in:
@@ -14,16 +14,11 @@ jobs:
|
|||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Install Nix
|
- uses: DeterminateSystems/determinate-nix-action@v3
|
||||||
uses: cachix/install-nix-action@v26
|
|
||||||
with:
|
|
||||||
nix_path: nixpkgs=channel:nixos-unstable
|
|
||||||
extra_nix_config: |
|
|
||||||
experimental-features = nix-command flakes
|
|
||||||
|
|
||||||
- name: Build Docker Image via Nix Flake
|
- name: Build Docker Image via Nix Flake
|
||||||
run: |
|
run: |
|
||||||
HOME=/tmp/homeless-shelter nix build ./build#dockerImage --impure --print-build-logs
|
nix build ./build#dockerImage --print-build-logs
|
||||||
docker load < result
|
docker load < result
|
||||||
|
|
||||||
- name: Log in to Gitea Container Registry
|
- name: Log in to Gitea Container Registry
|
||||||
|
|||||||
Reference in New Issue
Block a user