2 changed files with 30 additions and 5 deletions
@ -0,0 +1,29 @@ |
|||||
|
name: Build and Test |
||||
|
|
||||
|
on: |
||||
|
pull_request: |
||||
|
branches: |
||||
|
- master |
||||
|
workflow_dispatch: |
||||
|
|
||||
|
jobs: |
||||
|
build-and-test: |
||||
|
runs-on: ubuntu-latest |
||||
|
|
||||
|
steps: |
||||
|
- name: Checkout |
||||
|
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 and Test |
||||
|
uses: docker/build-push-action@v6 |
||||
|
with: |
||||
|
context: . |
||||
|
platforms: linux/amd64,linux/arm64,linux/386,linux/arm/v7 |
||||
|
cache-from: type=gha |
||||
|
cache-to: type=gha,mode=max |
Loading…
Reference in new issue