From 3c57e82d8283f28a377942a11b75e534413154f0 Mon Sep 17 00:00:00 2001 From: Ferror Date: Thu, 12 May 2022 15:12:57 +0200 Subject: [PATCH] [docker]Create docker build pipeline --- .github/workflows/docker.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/docker.yml diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml new file mode 100644 index 0000000000..0d1019173e --- /dev/null +++ b/.github/workflows/docker.yml @@ -0,0 +1,29 @@ +name: Build Docker Image + +on: + push: + branches-ignore: + - master + +jobs: + build-image: + strategy: + matrix: + platform: [linux/amd64,linux/arm64] + + runs-on: ubuntu-latest + steps: + - + name: Set Up QEMU + uses: docker/setup-qemu-action@v1 + - + name: Set Up Docker Buildx + uses: docker/setup-buildx-action@v1 + - + name: Build Image + uses: docker/build-push-action@v2 + with: + push: false + platforms: ${{ matrix.platform }} + cache-from: type=gha + cache-to: type=gha