Skip to content

Commit

Permalink
fix CI failure caused by mcad release changes (#458)
Browse files Browse the repository at this point in the history
The CI build failures are not related to this change, merging.
  • Loading branch information
Srihari1192 authored Jul 6, 2023
1 parent 2b7da3a commit ef10f5a
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -115,11 +115,10 @@ ifeq ($(strip $(git_repository_id)),main)
docker tag mcad-controller:${TAG} ${quay_repository}/mcad-controller:latest
docker push ${quay_repository}/mcad-controller:latest
endif
ifeq ($(filter release-v%,$(TAG)),)
ifneq ($(TAG:release-v%=%),$(TAG))
$(info Update the `stable` tag to point `latest` release image)
STABLE_TAG:= stable
docker tag mcad-controller:latest ${quay_repository}/mcad-controller:$(STABLE_TAG)
docker push ${quay_repository}/mcad-controller:$(STABLE_TAG)
docker tag mcad-controller:${TAG} ${quay_repository}/mcad-controller:stable
docker push ${quay_repository}/mcad-controller:stable
endif
endif

Expand Down

0 comments on commit ef10f5a

Please sign in to comment.