Skip to content

Commit

Permalink
Chore: build image tag numbering
Browse files Browse the repository at this point in the history
  • Loading branch information
luckylooky2 committed May 18, 2024
1 parent 55c15e3 commit a354348
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,7 @@ shellcheck: $(SH_FILES) ## Run checks for shell scripts.

TAG_SUFFIX=$(if $(WIRE_TAGS)!=oss,-$(WIRE_TAGS))
PLATFORM=linux/amd64
TAG_NUMBER=0.0.1

build-docker-full: ## Build Docker image for development.
@echo "build docker container"
Expand All @@ -257,7 +258,7 @@ build-docker-full-ubuntu: ## Build Docker image based on Ubuntu for development.
--build-arg BUILD_BRANCH=$$(git rev-parse --abbrev-ref HEAD) \
--build-arg BASE_IMAGE=ubuntu:22.04 \
--build-arg GO_IMAGE=golang:1.21.8 \
--tag chanhyle/grafana$(TAG_SUFFIX):dev-ubuntu \
--tag chanhyle/grafana$(TAG_SUFFIX):$(TAG_NUMBER) \
$(DOCKER_BUILD_ARGS)

##@ Services
Expand Down

0 comments on commit a354348

Please sign in to comment.