commit
c88460fecf
7 changed files with 100 additions and 0 deletions
17
.forgejo/workflows/main.yaml
Normal file
17
.forgejo/workflows/main.yaml
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
on: [push]
|
||||
jobs:
|
||||
check:
|
||||
runs-on: nix-upstream-latest
|
||||
steps:
|
||||
- run: nix-env -i nodejs # bootstrap
|
||||
- uses: actions/checkout@v4
|
||||
- run: |-
|
||||
nix \
|
||||
--extra-experimental-features nix-command \
|
||||
--extra-experimental-features flakes \
|
||||
develop
|
||||
- run: |-
|
||||
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
|
||||
Loading…
Add table
Add a link
Reference in a new issue