Skip to content

Commit

Permalink
Change to work dir
Browse files Browse the repository at this point in the history
Signed-off-by: Moti Asayag <[email protected]>

rh-pre-commit.version: 2.3.0
rh-pre-commit.check-secrets: ENABLED
  • Loading branch information
masayag committed Jul 23, 2024
1 parent be2aa1b commit 82cc1cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ ifeq ($(IS_APPLICATION),true)
$(BUILD_ARGS) $(EXTRA_ARGS) \
--tag ${IMAGE_NAME}:${IMAGE_TAG} --tag ${IMAGE_NAME}:latest .
else
@$(CONTAINER_ENGINE) build -f $(DOCKERFILE) \
@cd $(WORKDIR)/ && $(CONTAINER_ENGINE) build -f $(DOCKERFILE) \
$(BUILD_ARGS) $(EXTRA_ARGS) \
--tag ${IMAGE_NAME}:${IMAGE_TAG} --tag ${IMAGE_NAME}:latest .
endif
Expand Down

0 comments on commit 82cc1cb

Please sign in to comment.