diff --git a/.github/workflows/pr-build-check.yml b/.github/workflows/pr-build-check.yml new file mode 100644 index 0000000..d5d4bc7 --- /dev/null +++ b/.github/workflows/pr-build-check.yml @@ -0,0 +1,27 @@ +name: PR Build Check + +on: + pull_request: + branches: + - "**" + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v4 + + - name: Set up QEMU + uses: docker/setup-qemu-action@v3 + + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v3 + + - name: Build Docker image + uses: docker/build-push-action@v5 + with: + context: . + file: ./Dockerfile + platforms: linux/amd64,linux/arm64 + push: false \ No newline at end of file diff --git a/.github/workflows/action.yml b/.github/workflows/publish.yml similarity index 100% rename from .github/workflows/action.yml rename to .github/workflows/publish.yml