This commit is contained in:
parent
a1bcd867c2
commit
74b5d42741
1 changed files with 6 additions and 8 deletions
|
@ -7,22 +7,20 @@ jobs:
|
||||||
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
|
||||||
- run: ls -alh /run/containers/30001/auth.json || true
|
|
||||||
- name: Setup Nix cache
|
- name: Setup Nix cache
|
||||||
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
|
|
||||||
# run: /bin/skopeo login --username pim --password ${{ secrets.RUNNER_TOKEN }} https://git.kun.is
|
|
||||||
- run: ls -alh /run/containers/30001/auth.json || true
|
|
||||||
- name: Build Pim's blog
|
- name: Build Pim's blog
|
||||||
run: nix build --out-link blog-pim ./checkout#packages.x86_64-linux.blog-pim
|
run: nix build --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
|
||||||
run: /bin/attic push home blog-pim
|
run: /bin/attic push home blog-pim
|
||||||
# - name: Push Pim's blog to container registry
|
- name: Log into container registry
|
||||||
# run: /bin/skopeo --insecure-policy copy docker-archive:./blog-pim docker://git.kun.is/home/forgejo-nix-action:latest
|
run: /bin/skopeo login --tls-verify --username pim --password ${{ secrets.RUNNER_TOKEN }} https://git.kun.is
|
||||||
- run: ls -alh /run/containers/30001/auth.json || true
|
- 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
|
||||||
|
- name: Logout of container registry
|
||||||
|
run: /bin/skopeo logout https://git.kun.is
|
||||||
- name: Build Atticd
|
- name: Build Atticd
|
||||||
run: nix build --out-link atticd ./checkout#packages.x86_64-linux.atticd
|
run: nix build --out-link atticd ./checkout#packages.x86_64-linux.atticd
|
||||||
- name: Push atticd to Nix cache
|
- name: Push atticd to Nix cache
|
||||||
|
|
Reference in a new issue