-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: cuisongliu <cuisongliu@qq.com>
- Loading branch information
1 parent
7eaf37f
commit 59e016c
Showing
4 changed files
with
61 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#!/bin/bash | ||
IMAGE_NAME=${1:-"ghcr.io/cuisongliu/automq-operator:latest"} | ||
sudo sealos push "${IMAGE_NAME}"-amd64 | ||
sudo sealos push "${IMAGE_NAME}"-arm64 | ||
sudo sealos images | ||
sudo sealos manifest create "${IMAGE_NAME}" | ||
sudo sealos manifest add "$IMAGE_NAME" docker://"$IMAGE_NAME-amd64" | ||
sudo sealos manifest add "$IMAGE_NAME" docker://"$IMAGE_NAME-arm64" | ||
sudo sealos manifest push --all "$IMAGE_NAME" docker://"$IMAGE_NAME" && echo "$IMAGE_NAME push success" | ||
sudo sealos images |