Skip to content

Commit

Permalink
Merge pull request #18 from akeylesslabs/fix-push-new-docker-bug
Browse files Browse the repository at this point in the history
Load newest image before build
  • Loading branch information
alikdolg authored Dec 11, 2024
2 parents 4f7c458 + bc73971 commit e8c8660
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ GOOS=$os GOARCH=$arc CGO_ENABLED=0 go build \
.

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

docker login
Expand Down

0 comments on commit e8c8660

Please sign in to comment.