diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5487a76602dc..a8a12c2c3a80 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -23,6 +23,7 @@ env: CACHE_GHA_SCOPE_IT: "integration-tests" CACHE_GHA_SCOPE_BINARIES: "binaries" CACHE_GHA_SCOPE_CROSS: "cross" + BUILDX_VERSION: "v0.8.2" # leave empty to use the one available on GitHub virtual environment jobs: base: @@ -41,6 +42,7 @@ jobs: name: Set up Docker Buildx uses: docker/setup-buildx-action@v1 with: + version: ${{ env.BUILDX_VERSION }} driver-opts: image=${{ env.REPO_SLUG_ORIGIN }} buildkitd-flags: --debug - @@ -100,6 +102,7 @@ jobs: name: Set up Docker Buildx uses: docker/setup-buildx-action@v1 with: + version: ${{ env.BUILDX_VERSION }} driver-opts: image=${{ env.REPO_SLUG_ORIGIN }} buildkitd-flags: --debug - @@ -215,6 +218,7 @@ jobs: name: Set up Docker Buildx uses: docker/setup-buildx-action@v1 with: + version: ${{ env.BUILDX_VERSION }} driver-opts: image=${{ env.REPO_SLUG_ORIGIN }} buildkitd-flags: --debug - @@ -274,6 +278,7 @@ jobs: name: Set up Docker Buildx uses: docker/setup-buildx-action@v1 with: + version: ${{ env.BUILDX_VERSION }} driver-opts: image=${{ env.REPO_SLUG_ORIGIN }} buildkitd-flags: --debug - @@ -309,6 +314,7 @@ jobs: name: Set up Docker Buildx uses: docker/setup-buildx-action@v1 with: + version: ${{ env.BUILDX_VERSION }} driver-opts: image=${{ env.REPO_SLUG_ORIGIN }} buildkitd-flags: --debug - @@ -384,6 +390,7 @@ jobs: name: Set up Docker Buildx uses: docker/setup-buildx-action@v1 with: + version: ${{ env.BUILDX_VERSION }} driver-opts: image=${{ env.REPO_SLUG_ORIGIN }} buildkitd-flags: --debug - diff --git a/.github/workflows/buildx-image.yml b/.github/workflows/buildx-image.yml index e97ca41c579c..90de77f00a2f 100644 --- a/.github/workflows/buildx-image.yml +++ b/.github/workflows/buildx-image.yml @@ -27,6 +27,7 @@ on: env: REPO_SLUG_TARGET: "moby/buildkit" + BUILDX_VERSION: "v0.8.2" # leave empty to use the one available on GitHub virtual environment jobs: create: @@ -41,6 +42,8 @@ jobs: - name: Set up Docker Buildx uses: docker/setup-buildx-action@v1 + with: + version: ${{ env.BUILDX_VERSION }} - name: Login to DockerHub if: github.event.inputs.dry-run != 'true' diff --git a/.github/workflows/dockerd.yml b/.github/workflows/dockerd.yml index 04ece8563be4..03d2c359748b 100644 --- a/.github/workflows/dockerd.yml +++ b/.github/workflows/dockerd.yml @@ -13,6 +13,7 @@ env: REPO_SLUG_ORIGIN: "moby/buildkit:latest" CACHE_GHA_SCOPE_IT: "integration-tests" CACHE_GHA_SCOPE_BINARIES: "binaries" + BUILDX_VERSION: "v0.8.2" # leave empty to use the one available on GitHub virtual environment jobs: prepare: @@ -43,6 +44,7 @@ jobs: name: Set up Docker Buildx uses: docker/setup-buildx-action@v1 with: + version: ${{ env.BUILDX_VERSION }} driver-opts: image=${{ env.REPO_SLUG_ORIGIN }} buildkitd-flags: --debug - @@ -107,6 +109,7 @@ jobs: name: Set up Docker Buildx uses: docker/setup-buildx-action@v1 with: + version: ${{ env.BUILDX_VERSION }} driver-opts: image=${{ env.REPO_SLUG_ORIGIN }} buildkitd-flags: --debug - diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index ba5d757b7fb2..494723989c04 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -15,6 +15,7 @@ on: env: REPO_SLUG_ORIGIN: "moby/buildkit:latest" + BUILDX_VERSION: "v0.8.2" # leave empty to use the one available on GitHub virtual environment jobs: validate: @@ -35,6 +36,7 @@ jobs: name: Set up Docker Buildx uses: docker/setup-buildx-action@v1 with: + version: ${{ env.BUILDX_VERSION }} driver-opts: image=${{ env.REPO_SLUG_ORIGIN }} - name: Run