From 13e38082b9f9edaf0ceb1b43474f1174e1174cbf Mon Sep 17 00:00:00 2001 From: Bastian Lampe Date: Mon, 25 Nov 2024 12:55:18 +0000 Subject: [PATCH 1/3] Update buildkit image source --- .gitlab-ci/docker-ros.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci/docker-ros.yml b/.gitlab-ci/docker-ros.yml index 5a203d2..f8919f1 100644 --- a/.gitlab-ci/docker-ros.yml +++ b/.gitlab-ci/docker-ros.yml @@ -112,7 +112,7 @@ default: fi - docker login -u ${REGISTRY_USER} -p ${REGISTRY_PASSWORD} ${REGISTRY} - docker context create buildx-context - - docker buildx create --use buildx-context + - docker buildx create --use --driver docker-container --driver-opt image=public.ecr.aws/vend/moby/buildkit:buildx-stable-1 - echo -e "section_end:`date +%s`:setup_section\r\e[0K" .build: From 717f3476a470b0bd8634c169e7bed83b8ad70d47 Mon Sep 17 00:00:00 2001 From: Bastian Lampe Date: Mon, 25 Nov 2024 13:07:56 +0000 Subject: [PATCH 2/3] Update buildkit image source for GitHub action --- action.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/action.yml b/action.yml index aa2e022..28abb7c 100644 --- a/action.yml +++ b/action.yml @@ -158,6 +158,10 @@ runs: - name: Set up Docker buildx uses: docker/setup-buildx-action@v3 + with: + driver: docker-container + driver-opts: | + image=public.ecr.aws/vend/moby/buildkit:buildx-stable-1 - name: Enforce lower-case image name id: image-name From 15ca81254532be178f8346f9c24b7421289bffdc Mon Sep 17 00:00:00 2001 From: Bastian Lampe Date: Mon, 25 Nov 2024 13:32:25 +0000 Subject: [PATCH 3/3] use buildx-context --- .gitlab-ci/docker-ros.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci/docker-ros.yml b/.gitlab-ci/docker-ros.yml index f8919f1..377a70b 100644 --- a/.gitlab-ci/docker-ros.yml +++ b/.gitlab-ci/docker-ros.yml @@ -112,7 +112,7 @@ default: fi - docker login -u ${REGISTRY_USER} -p ${REGISTRY_PASSWORD} ${REGISTRY} - docker context create buildx-context - - docker buildx create --use --driver docker-container --driver-opt image=public.ecr.aws/vend/moby/buildkit:buildx-stable-1 + - docker buildx create --use buildx-context --driver docker-container --driver-opt image=public.ecr.aws/vend/moby/buildkit:buildx-stable-1 - echo -e "section_end:`date +%s`:setup_section\r\e[0K" .build: