Skip to content

Commit

Permalink
cd target to push everything to registries
Browse files Browse the repository at this point in the history
  • Loading branch information
deitch committed Jun 7, 2018
1 parent 1fdeb20 commit 40b459a
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,18 @@ binary-containerized: vendor
## Builds the code and runs all tests.
ci: clean image check-copyright ut fv

## Deploys images to registry
cd:
ifndef CONFIRM
$(error CONFIRM is undefined - run using make <target> CONFIRM=true)
endif
ifndef BRANCH_NAME
$(error BRANCH_NAME is undefined - run using make <target> BRANCH_NAME=var or set an environment variable)
endif
$(MAKE) tag-images push IMAGETAG=${BRANCH_NAME}
$(MAKE) tag-images push IMAGETAG=$(shell git describe --tags --dirty --always --long)


## Run the unit tests in a container.
ut: vendor
-mkdir -p .go-pkg-cache
Expand Down

0 comments on commit 40b459a

Please sign in to comment.