From be500e712654a812d18a3b4efa094fa8664c4660 Mon Sep 17 00:00:00 2001 From: Jiayu Liu Date: Fri, 2 Feb 2024 21:24:51 +0800 Subject: [PATCH] use docker building in github action --- .github/workflows/builld.yaml | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/.github/workflows/builld.yaml b/.github/workflows/builld.yaml index 4bd7175..08e5481 100644 --- a/.github/workflows/builld.yaml +++ b/.github/workflows/builld.yaml @@ -1,14 +1,30 @@ name: Build on: - pull_request: + push: branches: - main + pull_request: env: OPENCV_VERSION: "4.9.0" jobs: + build-docker: + runs-on: ubuntu-latest + steps: + - name: Set up QEMU + uses: docker/setup-qemu-action@v3 + + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v3 + + - name: Build and push + uses: docker/build-push-action@v5 + with: + push: false + tags: surya-rs/surya:latest + build-windows: runs-on: windows-latest env: