Skip to content

Commit

Permalink
Allow multiple aws accounts in makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
cfms3 committed Jun 19, 2024
1 parent 80d7509 commit 32e1d96
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@ CUBE_VERSION=$(shell node -e "console.log(require('./packages/cubejs-docker/pack
GIT_REV := $(shell git rev-parse --short HEAD)
DIRTY_FLAG := $(shell git diff HEAD --quiet || echo '-dirty')
IMAGE_VERSION=${CUBE_VERSION}-${GIT_REV}${DIRTY_FLAG}
AWS_ACCOUNT ?= 889818756387

IMAGE=889818756387.dkr.ecr.us-east-1.amazonaws.com/incognia/cube:${IMAGE_VERSION}
CUBESTORE_IMAGE=889818756387.dkr.ecr.us-east-1.amazonaws.com/incognia/cubestore:${IMAGE_VERSION}
IMAGE=${AWS_ACCOUNT}.dkr.ecr.us-east-1.amazonaws.com/incognia/cube:${IMAGE_VERSION}
CUBESTORE_IMAGE=${AWS_ACCOUNT}.dkr.ecr.us-east-1.amazonaws.com/incognia/cubestore:${IMAGE_VERSION}

.PHONY: build push cubestore/build cubestore/push

Expand Down

0 comments on commit 32e1d96

Please sign in to comment.