still doesn't use the local image
This commit is contained in:
parent
64d5ae244b
commit
d9772d452c
1 changed files with 1 additions and 2 deletions
|
@ -13,7 +13,6 @@ build_image() {
|
|||
# shellcheck disable=SC2068
|
||||
docker build \
|
||||
--pull \
|
||||
--no-cache \
|
||||
$@ \
|
||||
.
|
||||
}
|
||||
|
@ -73,7 +72,7 @@ main() {
|
|||
BUILD_ARGS="-f Dockerfile.edge --tag $IMAGE:edge $BUILD_ARGS"
|
||||
IMAGE="$IMAGE:edge"
|
||||
else
|
||||
BUILD_ARGS="--tag $IMAGE:$TAG --tag ${IMAGE}:${TAG%%-*} --tag $IMAGE:latest $BUILD_ARGS"
|
||||
BUILD_ARGS="--tag $IMAGE:latest --tag $IMAGE:$TAG --tag ${IMAGE}:${TAG%%-*} $BUILD_ARGS"
|
||||
IMAGE="$IMAGE:latest"
|
||||
fi
|
||||
build_image "$BUILD_ARGS"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue