Dateien nach "/" hochladen
This commit is contained in:
parent
726ab54dfb
commit
850558221e
@ -3,31 +3,19 @@ set -e
|
||||
|
||||
GIT_TAG=$1
|
||||
IMAGE_DESC="Image inpainting tool powered by SOTA AI Model"
|
||||
GIT_REPO="https://github.com/Sanster/lama-cleaner"
|
||||
GIT_REPO="https://git.kmpr.at/kamp/IOPaint"
|
||||
|
||||
echo "Building cpu docker image..."
|
||||
|
||||
docker buildx build \
|
||||
--platform linux/amd64 \
|
||||
--file ./docker/CPUDockerfile \
|
||||
--label org.opencontainers.image.title=lama-cleaner \
|
||||
--label org.opencontainers.image.title=imagesorter-inpaint \
|
||||
--label org.opencontainers.image.description="$IMAGE_DESC" \
|
||||
--label org.opencontainers.image.url=$GIT_REPO \
|
||||
--label org.opencontainers.image.source=$GIT_REPO \
|
||||
--label org.opencontainers.image.version=$GIT_TAG \
|
||||
--build-arg version=$GIT_TAG \
|
||||
--tag cwq1913/lama-cleaner:cpu-$GIT_TAG .
|
||||
--tag kamp/imagesorter-inpaint:cpu-$GIT_TAG .
|
||||
|
||||
|
||||
# echo "Building NVIDIA GPU docker image..."
|
||||
|
||||
docker buildx build \
|
||||
--platform linux/amd64 \
|
||||
--file ./docker/GPUDockerfile \
|
||||
--label org.opencontainers.image.title=lama-cleaner \
|
||||
--label org.opencontainers.image.description="$IMAGE_DESC" \
|
||||
--label org.opencontainers.image.url=$GIT_REPO \
|
||||
--label org.opencontainers.image.source=$GIT_REPO \
|
||||
--label org.opencontainers.image.version=$GIT_TAG \
|
||||
--build-arg version=$GIT_TAG \
|
||||
--tag cwq1913/lama-cleaner:gpu-$GIT_TAG .
|
||||
|
Loading…
Reference in New Issue
Block a user