Merge pull request #4336 from LinuxSuRen/fix-buildx-err

Fix the docker build error due to missing buildx setting
This commit is contained in:
KubeSphere CI Bot
2021-10-09 09:39:55 +08:00
committed by GitHub
2 changed files with 11 additions and 3 deletions

View File

@@ -24,13 +24,13 @@ jobs:
with:
fetch-depth: 0
- name: "Set up QEMU"
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
with:
platforms: all
- name: "Set up Docker buildx"
uses: "docker/setup-buildx-action@v1"
- name: Set up Docker buildx
uses: docker/setup-buildx-action@v1
- name: Build and push docker images
env:

View File

@@ -26,6 +26,14 @@ jobs:
with:
fetch-depth: 0
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
with:
platforms: all
- name: Set up Docker buildx
uses: docker/setup-buildx-action@v1
- name: Build and push docker images
env:
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}