From bb6f3d91b0f84803418f49ffbd89d34d693465e0 Mon Sep 17 00:00:00 2001 From: bkellam Date: Thu, 19 Sep 2024 17:21:24 -0700 Subject: [PATCH] Add simple PR gate that builds docker container for one platform --- .github/workflows/pr-gate.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/pr-gate.yml diff --git a/.github/workflows/pr-gate.yml b/.github/workflows/pr-gate.yml new file mode 100644 index 00000000..de59790f --- /dev/null +++ b/.github/workflows/pr-gate.yml @@ -0,0 +1,24 @@ +name: PR Gate + +# This gate simply validates that we can build the docker container. + +on: + pull_request: + branches: ["main"] + +jobs: + build: + runs-on: ubuntu-latest + permissions: + contents: read + steps: + - name: Checkout repository + uses: actions/checkout@v4 + with: + submodules: "true" + + - name: Build Docker image + id: build + uses: docker/build-push-action@v6 + with: + context: .