Browse Source

fix: remove cache for docker build

tags/v2.1.10
winkidney 2 years ago
parent
commit
2e93da1adf
2 changed files with 2 additions and 0 deletions
  1. +1
    -0
      docker/build_docker.sh
  2. +1
    -0
      docker/build_docker_multiple_platform.sh

+ 1
- 0
docker/build_docker.sh 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}/../" \


+ 1
- 0
docker/build_docker_multiple_platform.sh 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} \


Loading…
Cancel
Save