Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
HillLiu committed Oct 13, 2023
1 parent b4cb33d commit ba83d56
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ jobs:
IMAGE_NAME=$(DOCKER_HUB=1 support/remoteImage.sh)
BUILD_VERSION=<< parameters.docker-tag >>
BUILD_FOLDER=${VER_PREFIX}-<< parameters.docker-tag >>
BUILD_ARG="--build-arg BUILDKIT_INLINE_CACHE=1"
BUILD_ARG=""
LATEST_TAG=""
if [ "x$VERSION" == "x$BUILD_VERSION" ]; then
if [ -n "${ALT_VERSION}" ]; then
Expand All @@ -100,7 +100,7 @@ jobs:
./compile.sh login
./compile.sh rate
echo "# ------ End to Login ------ #"
DOCKER_BUILDKIT=1 docker buildx build ${BUILD_ARG} -f ${BUILD_FOLDER}/Dockerfile \
docker buildx build ${BUILD_ARG} -f ${BUILD_FOLDER}/Dockerfile \
--cache-to=type=inline,mode=all \
--cache-from $IMAGE_NAME:${BUILD_VERSION} \
--push \
Expand Down

0 comments on commit ba83d56

Please sign in to comment.