From 9318d6ba0bce6121c4b335543c64b028f4cc7c77 Mon Sep 17 00:00:00 2001 From: flameshikari Date: Sat, 20 Jul 2024 18:23:30 +0500 Subject: [PATCH] add a workflow for dev branch for dry build --- .github/workflows/dry_build.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/dry_build.yml diff --git a/.github/workflows/dry_build.yml b/.github/workflows/dry_build.yml new file mode 100644 index 0000000..5b293e3 --- /dev/null +++ b/.github/workflows/dry_build.yml @@ -0,0 +1,28 @@ +name: Dry Build + +on: + push: + branches: + - dev + +jobs: + build: + name: Dry Build + runs-on: ubuntu-latest + steps: + - name: Checkout Repository + uses: actions/checkout@v4 + with: + submodules: recursive + + - name: Setup Docker Buildx + uses: docker/setup-buildx-action@v3 + + - name: Build Image + uses: docker/build-push-action@v5 + with: + context: . + platforms: linux/amd64 + push: false + cache-from: type=gha + cache-to: type=gha,mode=max