switch to gitlab
This commit is contained in:
parent
648b7d7116
commit
c40b3f5a39
|
@ -1,63 +0,0 @@
|
|||
name: publish
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- "*"
|
||||
|
||||
jobs:
|
||||
|
||||
|
||||
build-aarch64:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
||||
- uses: actions/checkout@v4
|
||||
- uses: cachix/install-nix-action@v25
|
||||
with:
|
||||
github_access_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
- uses: DeterminateSystems/nix-installer-action@main
|
||||
|
||||
- name: Building aarch64 ISO
|
||||
run: nix build .#packages.aarch64-linux.default
|
||||
- name: Copying aarch64 ISO
|
||||
run: cp result/iso/*.iso .
|
||||
- uses: softprops/action-gh-release@v1
|
||||
|
||||
- name: Release aarch64 ISO
|
||||
uses: softprops/action-gh-release@v1
|
||||
with:
|
||||
files: |
|
||||
*.iso
|
||||
|
||||
- name: Collecting garbage
|
||||
run: |
|
||||
rm result
|
||||
nix-collect-garbage -d
|
||||
|
||||
|
||||
build-x86_64:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
||||
- uses: actions/checkout@v4
|
||||
- uses: cachix/install-nix-action@v25
|
||||
with:
|
||||
github_access_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
- uses: DeterminateSystems/nix-installer-action@main
|
||||
|
||||
- name: Building x86_64 ISO
|
||||
run: nix build .#packages.x86_64-linux.default
|
||||
- name: Copying x86_64 ISO
|
||||
run: cp result/iso/*.iso .
|
||||
- uses: softprops/action-gh-release@v1
|
||||
|
||||
- name: Release x86_64 ISO
|
||||
uses: softprops/action-gh-release@v1
|
||||
with:
|
||||
files: |
|
||||
*.iso
|
||||
|
||||
- name: Collecting garbage
|
||||
run: |
|
||||
rm result
|
||||
nix-collect-garbage -d
|
|
@ -1,4 +1,10 @@
|
|||
# which image to use from the docker hub
|
||||
image: ${CI_DEPENDENCY_PROXY_GROUP_IMAGE_PREFIX}/nixos/nix:latest
|
||||
|
||||
test-nix:
|
||||
stage: test
|
||||
script:
|
||||
- echo 'experimental-features = nix-command flakes' >> /etc/nix/nix.conf
|
||||
- command -v nix
|
||||
- nix --version
|
||||
- ls
|
||||
|
|
Loading…
Reference in New Issue