Skip to content

Commit b969126

Browse files
committed
build: Update Docker build flags in Makefile
- Update docker build command in the Makefile for improved caching efficiency.
1 parent a293bcb commit b969126

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

Makefile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,10 +68,11 @@ ifdef CI
6868
docker buildx build \
6969
-t ghcr.io/echohello-dev/transcribe-me:latest \
7070
-t ghcr.io/echohello-dev/transcribe-me:$(VERSION) \
71-
--cache-from=type=gha,scope=image \
72-
--cache-to=type=gha,mode=max \
71+
--cache-to "type=gha,mode=max" \
72+
--cache-from type=gha \
7373
--platform $(DOCKER_DEFAULT_PLATFORM) \
74-
--push .
74+
--push \
75+
.
7576
else
7677
docker compose build --push
7778
endif

0 commit comments

Comments
 (0)