mirror of
https://gitee.com/iioter/iotgateway.git
synced 2024-12-02 03:38:01 +08:00
21 lines
677 B
Bash
21 lines
677 B
Bash
#!/bin/bash
|
|
echo start
|
|
tag="2.0.2"
|
|
echo $tag
|
|
docker build -t registry.cn-hangzhou.aliyuncs.com/iotgateway/iotgateway:arm-$tag .
|
|
docker push registry.cn-hangzhou.aliyuncs.com/iotgateway/iotgateway:arm-$tag
|
|
|
|
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
|
|
|
|
docker tag registry.cn-hangzhou.aliyuncs.com/iotgateway/iotgateway:latest 15261671110/iotgateway:arm-$tag
|
|
docker push 15261671110/iotgateway:arm-$tag
|
|
|
|
docker tag 15261671110/iotgateway:$tag 15261671110/iotgateway:arm
|
|
docker push 15261671110/iotgateway:arm
|
|
|
|
|
|
|
|
|
|
|