mirror of
https://github.com/pinry/pinry.git
synced 2026-01-15 11:42:07 +01:00
fix: remove cache for docker build
This commit is contained in:
@@ -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}/../" \
|
||||
|
||||
@@ -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} \
|
||||
|
||||
Reference in New Issue
Block a user