Skip to content

Commit

Permalink
Fix tagging
Browse files Browse the repository at this point in the history
Signed-off-by: Timothy St. Clair <timothysc@gmail.com>
  • Loading branch information
timothysc committed Jul 30, 2018
1 parent 47f966c commit 6287e37
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,8 @@ push_images:
$(DOCKER) push $(REGISTRY)/$(TARGET):$(GIT_REF)
if git describe --tags --exact-match >/dev/null 2>&1; \
then \
$(DOCKER) tag $(REGISTRY)/$(TARGET):$(IMAGE_VERSION) $(REGISTRY)/$(TARGET):$(IMAGE_TAG) $(REGISTRY)/$(TARGET):latest ; \
$(DOCKER) tag $(REGISTRY)/$(TARGET):$(IMAGE_VERSION) $(REGISTRY)/$(TARGET):$(IMAGE_TAG); \
$(DOCKER) tag $(REGISTRY)/$(TARGET):$(IMAGE_VERSION) $(REGISTRY)/$(TARGET):latest;
$(DOCKER) push $(REGISTRY)/$(TARGET):$(IMAGE_VERSION); \
$(DOCKER) push $(REGISTRY)/$(TARGET):$(IMAGE_TAG); \
$(DOCKER) push $(REGISTRY)/$(TARGET):latest; \
Expand Down

0 comments on commit 6287e37

Please sign in to comment.