From 060fc9c139122f0421a627e3e688e994139ff55e Mon Sep 17 00:00:00 2001 From: Michael He <53622546+yiyuan-he@users.noreply.github.com> Date: Wed, 16 Oct 2024 13:24:19 -0700 Subject: [PATCH] Update Docker Build Version for Image Scan Workflow (#910) Update Docker Build Version for Image Scan Workflow. Context can be found in this MCM: https://mcm.amazon.dev/cms/MCM-112315558/execution/step/9de5087f-2c46-42b8-b760-a9ce99b569df Previous Patch PR (merged): https://github.com/aws-observability/aws-otel-java-instrumentation/pull/909 By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license. --- .github/workflows/patch-release-build.yml | 3 +++ .github/workflows/release-build.yml | 3 +++ 2 files changed, 6 insertions(+) diff --git a/.github/workflows/patch-release-build.yml b/.github/workflows/patch-release-build.yml index 0d47f9c292..e6f6ed9402 100644 --- a/.github/workflows/patch-release-build.yml +++ b/.github/workflows/patch-release-build.yml @@ -110,6 +110,9 @@ jobs: - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 + with: + driver-opts: image=moby/buildkit:v0.15.1 + if: ${{ matrix.os == 'ubuntu-latest' }} - name: Build image for testing uses: docker/build-push-action@v5 diff --git a/.github/workflows/release-build.yml b/.github/workflows/release-build.yml index 72b88a8eb6..20cf67b152 100644 --- a/.github/workflows/release-build.yml +++ b/.github/workflows/release-build.yml @@ -78,6 +78,9 @@ jobs: - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 + with: + driver-opts: image=moby/buildkit:v0.15.1 + if: ${{ matrix.os == 'ubuntu-latest' }} - name: Build image for testing uses: docker/build-push-action@v5