From 389f34cb57ac031f1874200d2d8b30524d01c568 Mon Sep 17 00:00:00 2001 From: Aliaksandr Valialkin Date: Tue, 21 Nov 2023 14:33:24 +0200 Subject: [PATCH] deployment/docker: remove built binaries at bin folder after creating docker image from them at `make publish-via-docker` --- deployment/docker/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/deployment/docker/Makefile b/deployment/docker/Makefile index 474558918..a064b8d46 100644 --- a/deployment/docker/Makefile +++ b/deployment/docker/Makefile @@ -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 \