Skip to content
This repository has been archived by the owner on May 19, 2023. It is now read-only.

Commit

Permalink
update :latest docker tag for Beta and RC builds
Browse files Browse the repository at this point in the history
Change-Id: I5ec6b7b0ce0bde5bbc6596426d789eee5e24ddeb
  • Loading branch information
kaloyan-raev committed Aug 18, 2020
1 parent ccded0a commit fbdc7fe
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ export KUBECONFIG
DOCKER_IMAGE := storjlabs/velero-plugin
BRANCH_NAME ?= $(shell git rev-parse --abbrev-ref HEAD | sed "s!/!-!g")
DOCKER_TAG := ${BRANCH_NAME}
ifneq (,$(shell git describe --tags --exact-match --match "v[0-9]*\.[0-9]*\.[0-9]*" --exclude "v[0-9]*\.[0-9]*\.[0-9]*[!0-9]*"))
# TODO: add --exclude "v[0-9]*\.[0-9]*\.[0-9]*[!0-9]*" after releasing v1.0.0
# to avoid updating :latest to Beta and RC releases.
ifneq (,$(shell git describe --tags --exact-match --match "v[0-9]*\.[0-9]*\.[0-9]*"))
DOCKER_TAG_LATEST := true
endif

Expand Down

0 comments on commit fbdc7fe

Please sign in to comment.