Skip to content

Commit

Permalink
load artifact into docker images when built with dedicated buildx bui…
Browse files Browse the repository at this point in the history
…lder
  • Loading branch information
thanodnl committed Jan 7, 2025
1 parent b0eeade commit 41174c7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions circleci/images/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ define make-image-targets

build-extbuilder-$1:
docker build \
--load \
extbuilder/ \
-f extbuilder/Dockerfile \
--build-arg=PG_VERSION=$1 \
Expand All @@ -48,6 +49,7 @@ push-extbuilder-all:: push-extbuilder-$1

build-exttester-$1:
docker build \
--load \
exttester/ \
-f exttester/Dockerfile \
--build-arg=PG_VERSION=$1 \
Expand All @@ -68,6 +70,7 @@ push-exttester-all:: push-exttester-$1

build-failtester-$1:
docker build \
--load \
failtester/ \
-f failtester/Dockerfile \
--build-arg=PG_VERSION=$1 \
Expand Down Expand Up @@ -96,6 +99,7 @@ define make-citus-upgrage-targets

build-citusupgradetester-$1:
docker build \
--load \
citusupgradetester/ \
-f citusupgradetester/Dockerfile \
--build-arg=PG_VERSION=$1 \
Expand All @@ -118,6 +122,7 @@ $(foreach element,$(CITUS_UPGRADE_PG_VERSIONS),$(eval $(call make-citus-upgrage-
# pg upgrade image is 1 global image
build-pgupgradetester:
docker build \
--load \
pgupgradetester/ \
-f pgupgradetester/Dockerfile \
--build-arg=PG_VERSIONS="${PG_VERSIONS}" \
Expand All @@ -133,6 +138,7 @@ push-all:: push-pgupgradetester-all
# style checker image is 1 global image
build-stylechecker:
docker build \
--load \
stylechecker/ \
-f stylechecker/Dockerfile \
--build-arg=TOOLS_VERSION="${STYLE_CHECKER_TOOLS_VERSION}" \
Expand Down

0 comments on commit 41174c7

Please sign in to comment.