Skip to content

Commit 483ee69

Browse files
committed
remove hcl file
1 parent 1655165 commit 483ee69

File tree

2 files changed

+7
-13
lines changed

2 files changed

+7
-13
lines changed

Makefile

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,8 +172,14 @@ docker buildx bake --allow=fs.read=.. \
172172
,--load\
173173
)\
174174
)\
175+
$(if $(push),\
176+
$(foreach service, $(SERVICES_NAMES_TO_BUILD),\
177+
--set $(service).tags=$(DOCKER_REGISTRY)/$(service):$(DOCKER_IMAGE_TAG) \
178+
--set $(service).output="type=registry$(comma)push=true" \
179+
)\
180+
,) \
175181
$(if $(push),--push,) \
176-
$(if $(push),--file docker-bake.hcl,) --file docker-compose-build.yml $(if $(target),$(target),$(INCLUDED_SERVICES)) \
182+
--file docker-compose-build.yml $(if $(target),$(target),$(INCLUDED_SERVICES)) \
177183
$(if $(findstring -nc,$@),--no-cache,\
178184
$(foreach service, $(SERVICES_NAMES_TO_BUILD),\
179185
--set $(service).cache-to=type=gha$(comma)mode=max$(comma)scope=$(service) \

services/docker-bake.hcl

Lines changed: 0 additions & 12 deletions
This file was deleted.

0 commit comments

Comments
 (0)