From dae997e923bf0b3dfe2b9e3c874c4d0e9e660eff Mon Sep 17 00:00:00 2001 From: Ross Ceballo Date: Thu, 14 Nov 2024 16:29:31 -0500 Subject: [PATCH] Add GHA docker build --- .github/workflows/build.yaml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/build.yaml diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml new file mode 100644 index 0000000..c3c8bd8 --- /dev/null +++ b/.github/workflows/build.yaml @@ -0,0 +1,23 @@ +name: Build + +on: + push: + branches: + - main + pull_request: + +jobs: + docker: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Build and push + uses: lsst-dm/build-and-push@main + id: build + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + dockerfile: docker/Dockerfile + platforms: linux/amd64,linux/arm64 + image: ${{ github.repository }} + push: true