blob: e613e8187b7693c5a5a12ed301ea9f8805df935a [file] [log] [blame]
include ../../$(RECIPE)/setup.env
docker-registry-login:
aws ecr get-login-password --region $(AWS_REGION) \
| docker login --username AWS --password-stdin $(DOCKER_REGISTRY_URI)/aws-gerrit/grafana
grafana-build:
docker build -t aws-gerrit/grafana .
docker tag aws-gerrit/grafana:latest $(DOCKER_REGISTRY_URI)/aws-gerrit/grafana:latest
grafana-publish: docker-registry-login grafana-build
docker push $(DOCKER_REGISTRY_URI)/aws-gerrit/grafana:latest