Investigate image error
Some checks failed
/ push (push) Failing after 8s

This commit is contained in:
Pim Kunis 2024-04-28 22:04:19 +02:00
parent 1d31d28cf1
commit b451634c16

View file

@ -7,6 +7,7 @@ jobs:
steps:
- name: Clone repository
run: git clone https://git.kun.is/home/container-images.git checkout
- run: ls -alh /run/containers/30001/auth.json
- name: Setup Nix cache
run: |
/bin/attic login local https://attic.kun.is ${{ secrets.ATTIC_TOKEN }}
@ -14,12 +15,14 @@ jobs:
- name: Log into container registry
# run: echo -n "${{ secrets.RUNNER_TOKEN }}" | /bin/docker login https://git.kun.is --username pim --password-stdin
run: /bin/skopeo login --username pim --password ${{ secrets.RUNNER_TOKEN }} https://git.kun.is
- run: ls -alh /run/containers/30001/auth.json
- name: Build Pim's blog
run: nix build --out-link blog-pim ./checkout#packages.x86_64-linux.blog-pim
- name: Push Pim's blog to Nix cache
run: /bin/attic push home blog-pim
- name: Push Pim's blog to container registry
run: /bin/skopeo --insecure-policy copy docker-archive:./blog-pim docker://git.kun.is/home/forgejo-nix-action:latest
- run: ls -alh /run/containers/30001/auth.json
- name: Build Atticd
run: nix build --out-link atticd ./checkout#packages.x86_64-linux.atticd
- name: Push atticd to Nix cache