mirror of
https://github.com/Ravinou/borgwarehouse
synced 2024-05-24 17:42:24 +02:00
45b211f397
# linux/arm/v7 arm32 is not supported by node20 https://github.com/nodejs/docker-node/issues/1946
22 lines
645 B
YAML
22 lines
645 B
YAML
name: Test Docker Container Build on Pull Request
|
|
|
|
on:
|
|
pull_request:
|
|
branches:
|
|
- main
|
|
- develop
|
|
|
|
jobs:
|
|
build-container:
|
|
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 Docker Container
|
|
run: |
|
|
docker buildx build --platform linux/amd64,linux/arm64 -t borgwarehouse:pr-${{ github.event.pull_request.number }} .
|