From 797cdec76a8dadc8aac252aa238da418c00084b4 Mon Sep 17 00:00:00 2001 From: Juan Antonio Osorio Date: Tue, 21 Jan 2025 11:49:34 +0200 Subject: [PATCH] Fix shell invocation for getting latest FE release This was not actually calling a shell and was returning an empty `LATEST_RELEASE` Signed-off-by: Juan Antonio Osorio --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index a567f736..157d01bf 100644 --- a/Makefile +++ b/Makefile @@ -34,7 +34,7 @@ build: clean test image-build: DOCKER_BUILDKIT=1 $(CONTAINER_BUILD) \ -f Dockerfile \ - --build-arg LATEST_RELEASE=$(curl -s "https://api.github.com/repos/stacklok/codegate-ui/releases/latest" | grep '"zipball_url":' | cut -d '"' -f 4) \ + --build-arg LATEST_RELEASE=$(shell curl -s "https://api.github.com/repos/stacklok/codegate-ui/releases/latest" | grep '"zipball_url":' | cut -d '"' -f 4) \ --build-arg CODEGATE_VERSION="$(shell git describe --tags --abbrev=0)-$(shell git rev-parse --short HEAD)-dev" \ -t codegate \ . \