images/.forgejo/workflows/main.yaml
iofq e89712a31e
Some checks failed
/ check (push) Failing after 1m11s
init
2025-09-27 17:13:10 -05:00

15 lines
574 B
YAML

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 tags.txt; do
IFS=: read -r pkg tag <<< $line
skopeo copy --dst-creds="${{ secrets.FJ_USER }}:${{ secrets.FJ_PASS }}" docker-image://$(nix build .#$pkg --print-out-paths) docker://git.10110110.xyz/ci/$tag
done
'