Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

⚗️CI: Separate image building of frontend #6918

Merged
Prev Previous commit
Next Next commit
load any TAR file
  • Loading branch information
sanderegg committed Dec 9, 2024
commit cc35d10d3d170808dedf12e8a9194ddf13b33f11
6 changes: 2 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
@@ -190,10 +190,8 @@ build build-nc: .env ## Builds production images and tags them as 'local/{servic
@docker images --filter="reference=local/*:production"

load-images: guard-local-src ## loads images from local-src
# loading from images from $(local-src)...
@$(foreach service, $(SERVICES_NAMES_TO_BUILD),\
docker load --input $(local-src)/$(service).tar; \
)
# loading from any tar images from $(local-src)...
@find $(local-src) -name '*.tar' -print0 | xargs -0 -n1 -P $(shell nproc) --no-run-if-empty --verbose docker load --input
# all images loaded
@docker images