Skip to content

Commit

Permalink
ci: set buildx 0.8.2 version
Browse files Browse the repository at this point in the history
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
  • Loading branch information
crazy-max committed Apr 6, 2022
1 parent c0b03b2 commit dec823f
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
-
Expand Down Expand Up @@ -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
-
Expand Down Expand Up @@ -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
-
Expand Down Expand Up @@ -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
-
Expand Down Expand Up @@ -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
-
Expand Down Expand Up @@ -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
-
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/buildx-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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'
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/dockerd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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
-
Expand Down Expand Up @@ -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
-
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand Down

0 comments on commit dec823f

Please sign in to comment.