From 52eace4b38ca22f0883fed0f2e43bd63d4de9440 Mon Sep 17 00:00:00 2001 From: Antosik Date: Thu, 9 Sep 2021 16:31:23 +0300 Subject: [PATCH] fix: Return QEMU back, remove platforms definition --- .github/workflows/docker.yml | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 4af3aff883..d8bd7d8f26 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -19,6 +19,18 @@ jobs: with: fetch-depth: 0 + - name: Set up QEMU + uses: docker/setup-qemu-action@v1 + + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v1 + + - name: Login to Docker Hub + uses: docker/login-action@v1 + with: + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_TOKEN }} + - name: Docker meta id: meta uses: docker/metadata-action@v3 @@ -30,20 +42,10 @@ jobs: type=sha, type=raw,value=latest - - name: Login to Docker Hub - uses: docker/login-action@v1 - with: - username: ${{ secrets.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_TOKEN }} - - - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v1 - - name: Build and push Docker images uses: docker/build-push-action@v2 with: context: . file: ./Dockerfile - platforms: linux/amd64,linux/arm64/v8 push: true tags: ${{ steps.meta.outputs.tags }}