Skip to content

Commit 453c4e8

Browse files
committed
feat: add support for custom Docker build arguments in release process
Signed-off-by: Mohamad Abuelhagag <mohammed.abuelhagag@gmail.com>
1 parent 2a5949b commit 453c4e8

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/cd.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,5 @@ jobs:
1818
make \
1919
-e BUILD_TARGET=runtime \
2020
-e DOCKER_TAG="${GITHUB_REF##*/}" \
21+
-e DOCKER_BUILD_ARGS="--no-cache" \
2122
release-docker deploy-docker release-pypi deploy-pypi

makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ release-docker:
7777
export BUILD_TARGET="runtime"; \
7878
export BUILD_TAG="$$tag"; \
7979
export DOCKER_REPO="$(DOCKER_USERNAME)"; \
80-
docker compose build; \
80+
docker compose build $(DOCKER_BUILD_ARGS); \
8181
) done
8282

8383
gh-pages-remote:

0 commit comments

Comments
 (0)