Use 'latest' as default tag for Docker image builds (#3072)

This commit is contained in:
jannfis 2020-02-02 05:47:25 +01:00 committed by GitHub
parent 74fe4af98e
commit c4dd9d19c2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -38,6 +38,8 @@ endif
ifneq (${GIT_TAG},)
IMAGE_TAG=${GIT_TAG}
LDFLAGS += -X ${PACKAGE}.gitTag=${GIT_TAG}
else
IMAGE_TAG?=latest
endif
ifeq (${DOCKER_PUSH},true)