Update Gitea workflow to run docker stack deploy instead of service update for full automation
Build and Deploy (Gitea) / build-and-deploy (push) Successful in 39s Details

This commit is contained in:
Sidney Gomes 2026-07-20 18:59:07 -03:00
parent 3feed90d5a
commit c45386af9a
2 changed files with 4 additions and 4 deletions

View File

@ -16,6 +16,6 @@ jobs:
run: | run: |
docker build --no-cache -t microtecflix-app:local . docker build --no-cache -t microtecflix-app:local .
- name: Deploy to Portainer / Docker Swarm - name: Deploy to Docker Swarm / Portainer
run: | run: |
docker service update --force --image microtecflix-app:local microtecflix_microtecflix docker stack deploy -c docker-stack.yml microtecflix

View File

@ -16,6 +16,6 @@ jobs:
run: | run: |
docker build --no-cache -t microtecflix-app:local . docker build --no-cache -t microtecflix-app:local .
- name: Deploy to Portainer / Docker Swarm - name: Deploy to Docker Swarm / Portainer
run: | run: |
docker service update --force --image microtecflix-app:local microtecflix_microtecflix docker stack deploy -c docker-stack.yml microtecflix