mirror of
/repos/baseimage-docker.git
synced 2025-12-30 08:01:31 +01:00
Run tests on release
This commit is contained in:
parent
1463b81942
commit
b17412ef7c
2
Makefile
2
Makefile
@ -14,7 +14,7 @@ test:
|
|||||||
tag_latest:
|
tag_latest:
|
||||||
docker tag $(NAME):$(VERSION) $(NAME):latest
|
docker tag $(NAME):$(VERSION) $(NAME):latest
|
||||||
|
|
||||||
release: tag_latest
|
release: test tag_latest
|
||||||
@if ! docker images phusion/baseimage | awk '{ print $$2 }' | grep -q -F $(VERSION); then echo "$(NAME) version $(VERSION) is not yet built. Please run 'make build'"; false; fi
|
@if ! docker images phusion/baseimage | awk '{ print $$2 }' | grep -q -F $(VERSION); then echo "$(NAME) version $(VERSION) is not yet built. Please run 'make build'"; false; fi
|
||||||
docker push $(NAME)
|
docker push $(NAME)
|
||||||
@echo "*** Don't forget to create a tag. git tag rel-$(VERSION) && git push origin rel-$(VERSION)"
|
@echo "*** Don't forget to create a tag. git tag rel-$(VERSION) && git push origin rel-$(VERSION)"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user