Fix passing Git reference to Docker image build

This commit is contained in:
tyranron 2021-04-22 13:53:59 +03:00
parent a775ca47e2
commit d6acc31652
No known key found for this signature in database
GPG Key ID: 762E144FB230A4F0

View File

@ -90,7 +90,7 @@ define docker.buildx
docker buildx build --force-rm $(args) \
--platform $(platform) \
$(if $(call eq,$(no-cache),yes),--no-cache --pull,) \
$(if $(call eq,$(git-ref),),,--build-arg git_ref=$(git-ref)) \
$(if $(call eq,$(git-ref),),,--build-arg coturn_git_ref=$(git-ref)) \
-f docker/coturn/$(dockerfile)/Dockerfile \
-t $(namespace)/$(NAME):$(tag) ./
endef