feat: update arch name

This commit is contained in:
https://blog.iamtsm.cn
2023-08-13 14:47:29 +08:00
parent 0806812a21
commit 16aa1f0148
2 changed files with 3 additions and 3 deletions

View File

@@ -11,7 +11,7 @@ build_and_push_image() {
local tag=$2
local target_name=$3
local image_prefix="iamtsm/tl-rtc-file"
local arch="x8664"
local arch="amd64"
echo "###################################### build $image_prefix-$target_name-$arch:$tag"
## build by docker-compose-build-code.yml

View File

@@ -11,12 +11,12 @@ build_and_push_manifest() {
local target_name=$3
local image_prefix="iamtsm/tl-rtc-file"
local arch_arm64="arm64"
local arch_x8664="x8664"
local arch_amd64="amd64"
echo "###################################### craete manifest $image_prefix-$target_name:$tag"
docker manifest create $image_prefix-$target_name:$tag \
$image_prefix-$target_name-$arch_arm64:$tag \
$image_prefix-$target_name-$arch_x8664:$tag --amend
$image_prefix-$target_name-$arch_amd64:$tag --amend
echo "###################################### push manifest $image_prefix-$target_name:$tag"
docker manifest push $image_prefix-$target_name:$tag