Skip to content

Commit

Permalink
Removed the unnecessary dist/ directory cleaning during the "deploy-i…
Browse files Browse the repository at this point in the history
…mage" process.
  • Loading branch information
lukasz-zaroda committed Aug 13, 2024
1 parent 1fdd62f commit eeb3bcd
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,6 @@ deploy-image:
echo "Cannot deploy the '${VERSION_DEFAULT}' version"; \
exit; \
fi;
[ ! -d "${DIST_PATH}" ] || rm -r ${DIST_PATH}
mkdir -p ${DIST_BIN_PATH}
docker buildx create --use --name docker-container
docker buildx build -f ${ROOT}/Dockerfile --provenance=false --rm --platform ${PLATFORMS} -t ${NAME}:${VER} --output "type=registry" .
docker buildx rm docker-container

0 comments on commit eeb3bcd

Please sign in to comment.