Skip to content

Commit

Permalink
When uploading new release, run 'docker tag' with '-f'
Browse files Browse the repository at this point in the history
  • Loading branch information
FooBarWidget committed Jan 20, 2015
1 parent bc40f72 commit 65e212f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ test:
env NAME=$(NAME) VERSION=$(VERSION) ./test/runner.sh

tag_latest:
docker tag $(NAME):$(VERSION) $(NAME):latest
docker tag -f $(NAME):$(VERSION) $(NAME):latest

release: test tag_latest
@if ! docker images $(NAME) | awk '{ print $$2 }' | grep -q -F $(VERSION); then echo "$(NAME) version $(VERSION) is not yet built. Please run 'make build'"; false; fi
Expand Down

0 comments on commit 65e212f

Please sign in to comment.