fix: remove cache for docker build

This commit is contained in:
winkidney
2022-04-25 21:18:05 -07:00
parent f17449239d
commit 2e93da1adf
2 changed files with 2 additions and 0 deletions

View File

@@ -6,6 +6,7 @@ IMAGE_LATEST_TAG="latest"
IMAGE_VERSION_TAG=`git tag -l --sort=-creatordate | head -n 1 | sed "s/v//g"`
sudo docker build \
--no-cache \
-t getpinry/pinry:${IMAGE_VERSION_TAG} \
-t getpinry/pinry:${IMAGE_LATEST_TAG} \
"${script_dir}/../" \

View File

@@ -6,6 +6,7 @@ IMAGE_LATEST_TAG="latest"
IMAGE_VERSION_TAG=`git tag -l --sort=-creatordate | head -n 1 | sed "s/v//g"`
sudo docker buildx build \
--no-cache \
--push \
--platform linux/arm/v7,linux/arm64/v8,linux/amd64 \
-t getpinry/pinry:${IMAGE_LATEST_TAG} \