Skip to content

Commit

Permalink
build: Update Docker build flags in Makefile
Browse files Browse the repository at this point in the history
- Update docker build command in the Makefile for improved caching efficiency.
  • Loading branch information
johnnyhuy committed Apr 21, 2024
1 parent a293bcb commit b969126
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,11 @@ ifdef CI
docker buildx build \
-t ghcr.io/echohello-dev/transcribe-me:latest \
-t ghcr.io/echohello-dev/transcribe-me:$(VERSION) \
--cache-from=type=gha,scope=image \
--cache-to=type=gha,mode=max \
--cache-to "type=gha,mode=max" \
--cache-from type=gha \
--platform $(DOCKER_DEFAULT_PLATFORM) \
--push .
--push \
.
else
docker compose build --push
endif
Expand Down

0 comments on commit b969126

Please sign in to comment.