From c1870c1acda04d567d7aa2c40fa0bd3f0bdbeadb Mon Sep 17 00:00:00 2001 From: Mengxin Liu Date: Tue, 29 Sep 2020 23:24:58 +0800 Subject: [PATCH] ci: change to docker buildx action --- .github/workflows/build-arm64-image.yaml | 7 ++++++- .github/workflows/build-dpdk-image.yaml | 2 +- .github/workflows/build-x86-image.yaml | 2 +- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-arm64-image.yaml b/.github/workflows/build-arm64-image.yaml index 6397b54ace2..9238b9ce20c 100644 --- a/.github/workflows/build-arm64-image.yaml +++ b/.github/workflows/build-arm64-image.yaml @@ -28,8 +28,13 @@ jobs: - name: Check out code into the Go module directory uses: actions/checkout@v2 + - name: Set up QEMU + uses: docker/setup-qemu-action@v1 + with: + platforms: arm64 + - name: Docker Buildx - uses: crazy-max/ghaction-docker-buildx@v1.4.0 + uses: docker/setup-buildx-action@v1 - name: Go Build Cache uses: actions/cache@v2 diff --git a/.github/workflows/build-dpdk-image.yaml b/.github/workflows/build-dpdk-image.yaml index 039b0f65516..e8617d55be3 100644 --- a/.github/workflows/build-dpdk-image.yaml +++ b/.github/workflows/build-dpdk-image.yaml @@ -23,7 +23,7 @@ jobs: uses: actions/checkout@v2 - name: Docker Buildx - uses: crazy-max/ghaction-docker-buildx@v1.4.0 + uses: docker/setup-buildx-action@v1 - name: Cache Docker layers uses: actions/cache@v2 diff --git a/.github/workflows/build-x86-image.yaml b/.github/workflows/build-x86-image.yaml index e9f137ad1e7..a14e1a11bbe 100644 --- a/.github/workflows/build-x86-image.yaml +++ b/.github/workflows/build-x86-image.yaml @@ -30,7 +30,7 @@ jobs: uses: actions/checkout@v2 - name: Docker Buildx - uses: crazy-max/ghaction-docker-buildx@v3 + uses: docker/setup-buildx-action@v1 - name: Go Build Cache uses: actions/cache@v2