From 79c4d2ede63ba0bccf11eeeb0a220a3aa2ed0be7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Erik=20Bj=C3=A4reholt?= Date: Wed, 28 Aug 2024 13:47:03 +0200 Subject: [PATCH] ci: added ci job for docker builds --- .github/workflows/build.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b59058fa..20a5b609 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -74,6 +74,28 @@ jobs: with: token: ${{ secrets.CODECOV_TOKEN }} + build-docker: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v3 + - name: Build Docker image (base) + uses: docker/build-push-action@v3 + with: + tags: gptme:latest + file: ./Dockerfile + context: . + load: true + push: false + - name: Build Docker image (eval) + uses: docker/build-push-action@v3 + with: + tags: gptme-eval:latest + file: ./Dockerfile.eval + context: . + push: false + lint: runs-on: ubuntu-latest steps: