Skip to content

Commit

Permalink
Fixed clearing of docker buildx cache
Browse files Browse the repository at this point in the history
  • Loading branch information
dciancu committed Jun 15, 2024
1 parent 7620409 commit eae3b94
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ else
if [[ -n "${CIRCLE_BRANCH+x}" ]] && [[ "$CIRCLE_BRANCH" == 'build' ]]; then
docker images | grep "$image_name" | tr -s ' ' | cut -d ' ' -f 2 \
| xargs -I {} docker rmi "${image_name}:{}" || true
docker buildx prune -f
fi
image_tag="${image_name}:latest-${image_arch}"
fi
Expand Down

0 comments on commit eae3b94

Please sign in to comment.