Add CI for building image #1
| @ -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