Skip to content
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 lean_client/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,16 @@ COMMIT_SHA := $(shell git rev-parse HEAD)
GIT_BRANCH := $(shell git rev-parse --abbrev-ref HEAD)
# Build date. Used for docker image metadata.
BUILD_DATE := $(shell date -u +'%Y-%m-%dT%H:%M:%SZ')
# Currently supported devnet. Used to publish devnet tag, along with `latest`.
CURRENT_DEVNET := devnet-1

# Temporary variable, which constructs `--tag` arguments, to be passed into
# docker build command. It is used as intermediatery step, not as config
# option.
DOCKER_TAGS := --tag $(DOCKER_REPO):$(DOCKER_TAG)
ifeq ($(DOCKER_TAG),unstable)
DOCKER_TAGS += --tag $(DOCKER_REPO):latest
DOCKER_TAGS += --tag $(DOCKER_REPO):$(CURRENT_DEVNET)
endif

all: build check-format test
Expand Down