From 9f35573e3346e20fec2c722c3c8c20bf9416e261 Mon Sep 17 00:00:00 2001 From: jp Date: Sat, 27 Jul 2024 21:33:09 +0200 Subject: [PATCH 1/2] added no caching to ensure new clean build --- makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/makefile b/makefile index 3b459a9c..2971060c 100644 --- a/makefile +++ b/makefile @@ -50,7 +50,7 @@ pre-docker-build: swagger GOOS=linux GOARCH=amd64 go build -o bin/${BINARY_NAME}-${VERSION}-linux-amd64 $(GOFLAGS) main.go docker: pre-docker-build - docker build -t soarca:${VERSION} --build-arg="VERSION=${VERSION}" . + docker build --no-cache -t soarca:${VERSION} --build-arg="VERSION=${VERSION}" . run: docker GIT_VERSION=${VERSION} docker compose up -d From 78453c8e8c4efa19427d88d2a96a15901da41341 Mon Sep 17 00:00:00 2001 From: jp Date: Sat, 27 Jul 2024 21:41:58 +0200 Subject: [PATCH 2/2] added forced rebuild --- makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/makefile b/makefile index 2971060c..6f2682ea 100644 --- a/makefile +++ b/makefile @@ -53,6 +53,6 @@ docker: pre-docker-build docker build --no-cache -t soarca:${VERSION} --build-arg="VERSION=${VERSION}" . run: docker - GIT_VERSION=${VERSION} docker compose up -d + GIT_VERSION=${VERSION} docker compose up --build --force-recreate -d all: build