Disable docker cache for builds
This commit is contained in:
parent
c0ce525b90
commit
7eccd2a440
1 changed files with 1 additions and 1 deletions
|
@ -5,6 +5,6 @@ if [[ -z $1 ]] || [[ -z $2 ]]; then
|
|||
exit 1
|
||||
else
|
||||
echo "Building 'photoprism/$1:$2'...";
|
||||
docker build --build-arg BUILD_TAG=$2 -t photoprism/$1:latest -t photoprism/$1:$2 -f docker/$1/Dockerfile .
|
||||
docker build --no-cache --build-arg BUILD_TAG=$2 -t photoprism/$1:latest -t photoprism/$1:$2 -f docker/$1/Dockerfile .
|
||||
echo "Done"
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue