Update master.yml
This commit is contained in:
parent
948f9469e5
commit
96801c8711
4
.github/workflows/master.yml
vendored
4
.github/workflows/master.yml
vendored
@ -22,6 +22,10 @@ jobs:
|
||||
cd /data/portainer/itfx
|
||||
git pull origin master
|
||||
docker build -t interfaceforward_api:latest -f src/InterfaceForward.Api/Dockerfile .
|
||||
# 标记镜像
|
||||
docker tag interfaceforward_api:latest 43.139.210.35:5000/interfaceforward_api:latest
|
||||
# 推送镜像
|
||||
docker push 43.139.210.35/interfaceforward_api:latest
|
||||
docker service update --force --image interfaceforward_api:latest itfx_interfaceforward_api # 一定要和service name一致
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user