Skip to content

Commit 69fed74

Browse files
committed
skip caching when building container
1 parent 0539dd9 commit 69fed74

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ publish: ## Publish Python package to PyPI
4545

4646
ghcr_build: ## Build GitHub container image
4747
@echo "Building GHCR container image..."
48-
docker build -t $(GHCR_FULLNAME) .
48+
docker build --no-cache -t $(GHCR_FULLNAME) .
4949

5050
ghcr_tag: ## Tag the latest GH container image with the version from Python
5151
@echo "Tagging GHCR latest image with $(VERSION)..."
@@ -60,7 +60,7 @@ ghcr_all: ghcr_build ghcr_tag ghcr_push ## Execute all GitHub Package container
6060

6161
docker_build: ## Build Docker container image
6262
@echo "Building Docker image..."
63-
docker build -t $(DOCKER_FULLNAME) .
63+
docker build --no-cache -t $(DOCKER_FULLNAME) .
6464

6565
docker_tag: ## Tag the latest Docker container image with the version from Python
6666
@echo "Tagging Docker latest image with $(VERSION)..."

0 commit comments

Comments
 (0)