This commit is contained in:
parent
958559e318
commit
59fba416a2
1 changed files with 3 additions and 1 deletions
|
@ -3,7 +3,7 @@ jobs:
|
||||||
push:
|
push:
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
container:
|
container:
|
||||||
image: git.kun.is/home/forgejo-nix-action:17bb63e3d5ba294e0c11b2868e41243de1ca803f
|
image: git.kun.is/home/forgejo-nix-action:958559e3184d8f044136ad49ed57f0badb67789c
|
||||||
steps:
|
steps:
|
||||||
- name: Clone repository
|
- name: Clone repository
|
||||||
run: git clone https://git.kun.is/home/container-images.git checkout
|
run: git clone https://git.kun.is/home/container-images.git checkout
|
||||||
|
@ -11,6 +11,8 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
/bin/attic login local https://attic.kun.is ${{ secrets.ATTIC_TOKEN }}
|
/bin/attic login local https://attic.kun.is ${{ secrets.ATTIC_TOKEN }}
|
||||||
/bin/attic use home
|
/bin/attic use home
|
||||||
|
- name: Log into container registry
|
||||||
|
run: echo -n "${{ secrets.RUNNER_TOKEN }}" | /bin/docker login https://git.kun.is --username pim --password-stdin
|
||||||
- name: Build Pim's blog
|
- name: Build Pim's blog
|
||||||
run: nix build --extra-experimental-features nix-command --extra-experimental-features flakes --out-link blog-pim ./checkout#packages.x86_64-linux.blog-pim
|
run: nix build --extra-experimental-features nix-command --extra-experimental-features flakes --out-link blog-pim ./checkout#packages.x86_64-linux.blog-pim
|
||||||
- name: Push Pim's blog to Nix cache
|
- name: Push Pim's blog to Nix cache
|
||||||
|
|
Reference in a new issue