Skip to content
This repository was archived by the owner on Jun 5, 2025. It is now read-only.

Fetch tags to get appropriate codegate version on dev #705

Merged
merged 1 commit into from
Jan 22, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ build: clean test
poetry build

image-build:
@echo "Fetching tags to get right version number..."
@git fetch -t
@echo "Building container..."
DOCKER_BUILDKIT=1 $(CONTAINER_BUILD) \
-f Dockerfile \
--build-arg LATEST_RELEASE=$(shell curl -s "https://api.github.com/repos/stacklok/codegate-ui/releases/latest" | grep '"zipball_url":' | cut -d '"' -f 4) \
Expand Down
Loading