Skip to content

Commit a19cb55

Browse files
committed
fix(*): force tags in Makefiles
When running `make build`, sometimes components fail to build, aborting the Makefile run. After fixing the issue, building again, and running `make dev-release`, some components have already been tagged and emit an error like "Tag asdf already references image bcde". This commit makes `docker tag` force the tag, preventing a semi-successful build from preventing releases.
1 parent b5bde51 commit a19cb55

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ run: install start
3636
dev-release: push set-image
3737

3838
push: check-registry
39-
docker tag $(IMAGE) $(DEV_IMAGE)
39+
docker tag -f $(IMAGE) $(DEV_IMAGE)
4040
docker push $(DEV_IMAGE)
4141

4242
set-image: check-deisctl

0 commit comments

Comments
 (0)