-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
cc9351b
commit 484086f
Showing
2 changed files
with
28 additions
and
3 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
docker_repositories=("matterlabs/external-node" "us-docker.pkg.dev/matterlabs-infra/matterlabs-docker/external-node") | ||
platforms=linux/amd64,linux/arm64 | ||
tag_name="v24.2.0" | ||
for repo in "${docker_repositories[@]}"; do | ||
platform_tags="" | ||
for platform in ${platforms//,/ }; do | ||
platform=$(echo $platform | tr '/' '-') | ||
alpha_tag="${repo}:${tag_name}-alpha-${platform}" | ||
tag="${repo}:${tag_name}-${platform}" | ||
# docker pull $alpha_tag | ||
# docker tag $alpha_tag $tag | ||
# docker push $tag | ||
|
||
platform_tags+=" --amend $tag" | ||
done | ||
echo $platform_tags | ||
for manifest in "${repo}:${tag_name}" "${repo}:2.0-${tag_name}"; do | ||
echo $manifest | ||
# docker manifest create ${manifest} ${platform_tags} | ||
# docker manifest push ${manifest} | ||
done | ||
done |