deployment/docker: remove built binaries at bin folder after creating docker image from them at make publish-via-docker

This commit is contained in:
Aliaksandr Valialkin 2023-11-21 14:33:24 +02:00
parent 3a15c9ffb3
commit 389f34cb57
No known key found for this signature in database
GPG key ID: 52C003EE2BCDB9EB

View file

@ -86,6 +86,12 @@ publish-via-docker:
-f app/$(APP_NAME)/multiarch/Dockerfile \
--push \
bin
cd bin && rm -rf \
$(APP_NAME)-linux-amd64-prod \
$(APP_NAME)-linux-arm-prod \
$(APP_NAME)-linux-arm64-prod \
$(APP_NAME)-linux-ppc64le-prod \
$(APP_NAME)-linux-386-prod
run-via-docker: package-via-docker
$(DOCKER_RUN) -it --rm \