commit
bab0f30faa
7 changed files with 98 additions and 0 deletions
15
.forgejo/workflows/main.yaml
Normal file
15
.forgejo/workflows/main.yaml
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
on: [push]
|
||||
jobs:
|
||||
check:
|
||||
runs-on: nix-upstream-latest
|
||||
steps:
|
||||
- run: echo "experimental-features = nix-command flakes" >> /etc/nix/nix.conf
|
||||
- run: nix-env -i nodejs # bootstrap
|
||||
- uses: actions/checkout@v4
|
||||
- run: |-
|
||||
nix develop --command bash -c '
|
||||
for line in $(cat tags.txt); do
|
||||
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
|
||||
done
|
||||
'
|
||||
Loading…
Add table
Add a link
Reference in a new issue