Skip to content

Commit

Permalink
ci: added ci job for docker builds
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikBjare committed Aug 28, 2024
1 parent 707d98c commit 79c4d2e
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 79c4d2e

Please sign in to comment.