Skip to content

Commit eb6457d

Browse files
feat(push-to-gar-docker): enable docker mirror for buildx on self-hosted runners
1 parent 0e7ecbf commit eb6457d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

actions/push-to-gar-docker/action.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,7 @@ runs:
171171
with:
172172
driver: ${{ inputs.docker-buildx-driver }}
173173
version: latest # see https://github.com/docker/build-push-action/issues/1345#issuecomment-2770572479
174+
buildkitd-config: ${{ runner.environment == 'self-hosted' && '/etc/buildkitd.toml' || '' }}
174175

175176
- name: Build the container
176177
uses: docker/build-push-action@14487ce63c7a62a4a324b0bfb37086795e31c6c1 # v6.16.0

0 commit comments

Comments
 (0)