Update master.yml

This commit is contained in:
xiaoliutral 2025-07-03 10:08:16 +08:00 committed by GitHub
parent 948f9469e5
commit 96801c8711
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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一致