Skip to content

Commit bc73971

Browse files
committed
Load newest image before build
1 parent 4f7c458 commit bc73971

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ GOOS=$os GOARCH=$arc CGO_ENABLED=0 go build \
4949
.
5050

5151
echo "Building $image:latest docker image"
52-
docker build --build-arg PRODUCT_VERSION="$version" --no-cache -t $image:latest .
52+
docker build --load --build-arg PRODUCT_VERSION="$version" --no-cache -t $image:latest .
5353
docker tag "$image":latest "$docker_repo/$image":"$version"
5454

5555
docker login

0 commit comments

Comments
 (0)