yes
All checks were successful
build and push / build-and-push (push) Successful in 3m26s

This commit is contained in:
编码猿
2025-10-06 23:29:17 +08:00
parent 1ee6c570e5
commit 1da7c28c78

View File

@@ -66,12 +66,6 @@ jobs:
script: |
# 拉取刚打包的最新镜像
docker pull registry.bmycode.help/app-product:${{ github.sha }}
# 确保文件可读
chmod 644 /home/bmy/app-product.yml
cat /home/bmy/app-product.yml
echo ""
# 切换到管理员,要不然没权限在服务器执行 docker 命令,部署到 Swarm 集群
sudo docker stack deploy -c /home/bmy/app-product.yml app-product
- name: 管理节点部署到 Swarm
uses: appleboy/ssh-action@v1