iotgateway/auto-build-arm.sh

21 lines
677 B
Bash
Raw Normal View History

2023-05-24 14:39:19 +00:00
#!/bin/bash
2022-07-18 15:12:57 +00:00
echo start
2023-05-24 14:39:19 +00:00
tag="2.0.2"
2022-07-25 04:06:49 +00:00
echo $tag
2023-05-24 14:39:19 +00:00
docker build -t registry.cn-hangzhou.aliyuncs.com/iotgateway/iotgateway:arm-$tag .
docker push registry.cn-hangzhou.aliyuncs.com/iotgateway/iotgateway:arm-$tag
2022-07-25 04:06:49 +00:00
docker tag registry.cn-hangzhou.aliyuncs.com/iotgateway/iotgateway:arm-$tag registry.cn-hangzhou.aliyuncs.com/iotgateway/iotgateway:arm
docker push registry.cn-hangzhou.aliyuncs.com/iotgateway/iotgateway:arm
2022-07-25 04:06:49 +00:00
2023-05-24 14:39:19 +00:00
docker tag registry.cn-hangzhou.aliyuncs.com/iotgateway/iotgateway:latest 15261671110/iotgateway:arm-$tag
2022-07-25 04:06:49 +00:00
docker push 15261671110/iotgateway:arm-$tag
2023-05-24 14:39:19 +00:00
docker tag 15261671110/iotgateway:$tag 15261671110/iotgateway:arm
2022-07-25 04:06:49 +00:00
docker push 15261671110/iotgateway:arm
2023-05-24 14:39:19 +00:00