Skip to content

Commit 0bd6c5a

Browse files
committed
fix: update docker config for only setup-buildx-action tasks
1 parent 6980a55 commit 0bd6c5a

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

.github/workflows/patch-release-build.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ jobs:
112112
uses: docker/setup-buildx-action@v3
113113
with:
114114
driver-opts: image=moby/buildkit:v0.15.1
115+
driver: docker-container
115116
if: ${{ matrix.os == 'ubuntu-latest' }}
116117

117118
- name: Build image for testing
@@ -123,7 +124,6 @@ jobs:
123124
platforms: linux/amd64
124125
tags: ${{ env.TEST_TAG }}
125126
load: true
126-
driver: docker-container
127127

128128
- name: Test docker image
129129
shell: bash
@@ -138,7 +138,6 @@ jobs:
138138
platforms: linux/amd64,linux/arm64
139139
tags: |
140140
public.ecr.aws/aws-observability/adot-autoinstrumentation-java:v${{ github.event.inputs.version }}
141-
driver: docker-container
142141
143142
- name: Build and Publish release with Gradle
144143
uses: gradle/gradle-build-action@v3

.github/workflows/release-build.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ jobs:
8080
uses: docker/setup-buildx-action@v3
8181
with:
8282
driver-opts: image=moby/buildkit:v0.15.1
83+
driver: docker-container
8384
if: ${{ matrix.os == 'ubuntu-latest' }}
8485

8586
- name: Build image for testing
@@ -91,7 +92,6 @@ jobs:
9192
platforms: linux/amd64
9293
tags: ${{ env.TEST_TAG }}
9394
load: true
94-
driver: docker-container
9595

9696
- name: Test docker image
9797
shell: bash
@@ -107,7 +107,6 @@ jobs:
107107
tags: |
108108
${{ env.PUBLIC_REPOSITORY }}:v${{ github.event.inputs.version }}
109109
${{ env.PRIVATE_REPOSITORY }}:v${{ github.event.inputs.version }}
110-
driver: docker-container
111110
112111
- name: Build and Publish release with Gradle
113112
uses: gradle/gradle-build-action@v3

0 commit comments

Comments
 (0)