From f0527e01f17ed2b32aae274f157bd73dcd333547 Mon Sep 17 00:00:00 2001 From: mariatta Date: Tue, 20 Oct 2026 14:53:23 -0700 Subject: [PATCH] Build the Docker image in CI Set up buildx and build the image on every push and pull request, so a Dockerfile that no longer builds fails here instead of at cabotage deploy time. --- .github/workflows/ci.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3b3b36a..626353b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -45,3 +45,17 @@ jobs: flags: ${{ matrix.python-version }} name: Python ${{ matrix.python-version }} token: ${{ secrets.CODECOV_ORG_TOKEN }} + + docker: + name: Docker build + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v7 + with: + persist-credentials: false + + - uses: docker/setup-buildx-action@v4 + + - name: Build the image + run: docker build .