From ce7cf2de8729b069b21286a4edc7d6c063524d08 Mon Sep 17 00:00:00 2001 From: Sergey Bogatyrets Date: Fri, 20 Mar 2020 22:55:21 +0300 Subject: [PATCH] Create GitHub workflow --- .github/workflows/main.yml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..4aabbef --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,32 @@ +name: buildx + +on: + pull_request: + branches: master + push: + branches: master + tags: + +jobs: + buildx: + runs-on: ubuntu-latest + steps: + - + name: Checkout + uses: actions/checkout@v1 + - + name: Set up Docker Buildx + id: buildx + uses: crazy-max/ghaction-docker-buildx@v1 + with: + version: v1.1.0 + - + name: Print builder available platforms + run: echo ${{ steps.buildx.outputs.platforms }} + - + name: Run Buildx + run: | + docker buildx build \ + --platform \linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64 \ + --output "type=image,push=false" \ + --file Dockerfile