1
0
mirror of /repos/baseimage-docker.git synced 2025-12-30 08:01:31 +01:00

When uploading new release, run 'docker tag' with '-f'

This commit is contained in:
Hongli Lai (Phusion) 2015-01-20 11:39:50 +01:00
parent bc40f72c84
commit 65e212f235
No known key found for this signature in database
GPG Key ID: 2AF96EB85EF4DA0D

View File

@ -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