parent
9c0c3b305b
commit
36f19d42c5
2 changed files with 1 additions and 2 deletions
|
|
@ -5,10 +5,10 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- run: echo "experimental-features = nix-command flakes" >> /etc/nix/nix.conf
|
- run: echo "experimental-features = nix-command flakes" >> /etc/nix/nix.conf
|
||||||
- run: nix-env -i nodejs # bootstrap
|
- run: nix-env -i nodejs # bootstrap
|
||||||
|
- run: curl -sLo /etc/containers/policy.json https://github.com/containers/skopeo/blob/879dbc3757610a574f9fcc44ea23ef9e8e2b6fe3/default-policy.json
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- run: |-
|
- run: |-
|
||||||
nix develop --command bash -c '
|
nix develop --command bash -c '
|
||||||
curl -sLo /etc/containers/policy.json https://github.com/containers/skopeo/blob/879dbc3757610a574f9fcc44ea23ef9e8e2b6fe3/default-policy.json
|
|
||||||
for line in $(cat tags.txt); do
|
for line in $(cat tags.txt); do
|
||||||
IFS=: read -r pkg tag <<< $line
|
IFS=: read -r pkg tag <<< $line
|
||||||
skopeo copy --dest-creds="${{ secrets.FJ_USER }}:${{ secrets.FJ_PASS }}" docker-image://$(nix build .#$pkg --print-out-paths) docker://git.10110110.xyz/ci/$tag:latest
|
skopeo copy --dest-creds="${{ secrets.FJ_USER }}:${{ secrets.FJ_PASS }}" docker-image://$(nix build .#$pkg --print-out-paths) docker://git.10110110.xyz/ci/$tag:latest
|
||||||
|
|
|
||||||
1
result
1
result
|
|
@ -1 +0,0 @@
|
||||||
/nix/store/r7ai8pbishhz8k6ca1qbg2kvia7vqcl3-nix-with-node.tar.gz
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue