Skip to content

Commit 272668a

Browse files
authored
Merge pull request #152 from whoan/issue-151
Name builder instance to avoid multiple ones on self-hosted runners
2 parents 5285033 + bd35c30 commit 272668a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docker-build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -411,7 +411,7 @@ _build_image_buildkit() {
411411
_parse_extra_args
412412

413413
set -x
414-
docker buildx create --use
414+
docker buildx create --use --name action-builder-instance |& grep -v "existing instance" || true
415415
# shellcheck disable=SC2086
416416
docker buildx build \
417417
--load \

0 commit comments

Comments
 (0)