Skip to content
Snippets Groups Projects
Commit b7f18a57 authored by Tom Wilkie's avatar Tom Wilkie
Browse files

Include image tag with names


Signed-off-by: default avatarTom Wilkie <tom.wilkie@gmail.com>
parent e7abc1d5
No related branches found
No related tags found
No related merge requests found
......@@ -87,6 +87,6 @@ jobs:
steps:
- run: |
curl -s --header "Content-Type: application/json" \
--data "{\"build_parameters\": {\"CIRCLE_JOB\": \"deploy\", \"IMAGE_NAMES\": \"$(make images-names)\"}}" \
--data "{\"build_parameters\": {\"CIRCLE_JOB\": \"deploy\", \"IMAGE_NAMES\": \"$(make images)\"}}" \
--request POST \
https://circleci.com/api/v1.1/project/github/raintank/deployment_tools/tree/master?circle-token=$CIRCLE_TOKEN
......@@ -26,7 +26,7 @@ UPTODATE_FILES := $(patsubst %/Dockerfile,%/$(UPTODATE),$(DOCKERFILES))
DOCKER_IMAGE_DIRS := $(patsubst %/Dockerfile,%,$(DOCKERFILES))
IMAGE_NAMES := $(foreach dir,$(DOCKER_IMAGE_DIRS),$(patsubst %,$(IMAGE_PREFIX)%,$(shell basename $(dir))))
images:
$(info $(IMAGE_NAMES))
$(info $(patsubst %,%:$(IMAGE_TAG),$(IMAGE_NAMES)))
@echo > /dev/null
# Generating proto code is automated.
......@@ -125,9 +125,6 @@ shell: build-image/$(UPTODATE)
endif
images:
echo $(IMAGE_NAMES)
save-images:
@mkdir -p images
for image_name in $(IMAGE_NAMES); do \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment