Skip to content

Commit 5e4b1cf

Browse files
committed
fix how we push tags
1 parent 872323b commit 5e4b1cf

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Makefile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,10 @@ release: build-release release-images.txt tag-release
5858
GOOS=$$os GOARCH=$$arch $(MAKE) push-docker; \
5959
done; \
6060
done;
61-
$(DOCKER) manifest create --amend signadot/hotrod:$(RELEASE_TAG) \
61+
# Remove existing manifest if it exists to ensure a fresh state
62+
$(DOCKER) manifest rm signadot/hotrod:$(RELEASE_TAG) || true
63+
# Create a new manifest with the freshly built images
64+
$(DOCKER) manifest create signadot/hotrod:$(RELEASE_TAG) \
6265
$(shell cat dist/release-images.txt)
6366
$(DOCKER) manifest push signadot/hotrod:$(RELEASE_TAG)
6467

0 commit comments

Comments
 (0)