Skip to content

Commit

Permalink
pass PKTVISOR_TAG build arg during make agent
Browse files Browse the repository at this point in the history
  • Loading branch information
weyrick committed Nov 15, 2021
1 parent a35c32d commit e21866e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

# expects to be set as env var
REF_TAG ?= develop
PKTVISOR_TAG ?= latest-develop
DOCKER_IMAGE_NAME_PREFIX ?= orb
DOCKERHUB_REPO = ns1labs
BUILD_DIR = build
Expand Down Expand Up @@ -103,6 +104,7 @@ agent_bin:

agent:
docker build \
--build-arg PKTVISOR_TAG=$(PKTVISOR_TAG) \
--tag=$(DOCKERHUB_REPO)/$(DOCKER_IMAGE_NAME_PREFIX)-agent:$(REF_TAG) \
--tag=$(DOCKERHUB_REPO)/$(DOCKER_IMAGE_NAME_PREFIX)-agent:$(ORB_VERSION) \
--tag=$(DOCKERHUB_REPO)/$(DOCKER_IMAGE_NAME_PREFIX)-agent:$(ORB_VERSION)-$(COMMIT_HASH) \
Expand Down

0 comments on commit e21866e

Please sign in to comment.