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