Skip to content

Commit

Permalink
ci: add a ci to build the docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
drawbu committed Jun 6, 2024
1 parent 3201b18 commit f6e57ae
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Build Docker Image

on:
push:
branches:
- main

jobs:
docker:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Setup Nix
uses: cachix/install-nix-action@v27

- name: Build Docker image
run: nix build .#docker

- name: Upload Docker image artifact
uses: actions/upload-artifact@v2
with:
name: docker-image
path: result

0 comments on commit f6e57ae

Please sign in to comment.