Add install nix and build container steps
This commit is contained in:
parent
0b1a6699bb
commit
4e6e4f91e0
@ -1,10 +1,16 @@
|
|||||||
name: Gitea Actions Demo
|
name: Build container
|
||||||
on: [push]
|
on: [push]
|
||||||
jobs:
|
jobs:
|
||||||
build-container:
|
build-container:
|
||||||
runs-on: node-22-bookworm
|
runs-on: ubuntu-22.04
|
||||||
steps:
|
steps:
|
||||||
- run: echo echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event."
|
|
||||||
- name: Checkout repo
|
- name: Checkout repo
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
- run: ls -l
|
- run: ls -l
|
||||||
|
- name: Install Nix
|
||||||
|
uses: cachix/install-nix-action@v31
|
||||||
|
with:
|
||||||
|
enable_kvm: false
|
||||||
|
- name: Build container
|
||||||
|
run: nix build .#docker
|
||||||
|
- run: find result/*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user