Integrate new portainer-deploy-action
Some checks failed
Build and Deploy / build-and-deploy (push) Failing after 4s

This commit is contained in:
2026-05-29 22:35:17 +00:00
parent 91a1651cfd
commit 70012b835e

View File

@@ -21,7 +21,7 @@ jobs:
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITEA_TOKEN }}
password: ${{ secrets.REGISTRY_TOKEN }}
- name: Build and push Docker image
uses: docker/build-push-action@v4
@@ -30,6 +30,10 @@ jobs:
push: true
tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest
- name: Trigger Portainer Webhook
run: |
curl -X POST "${{ secrets.PORTAINER_WEBHOOK_URL }}"
- name: Deploy Stack to Portainer
uses: kaykayyali/portainer-deploy-action@main
with:
portainer_url: 'http://portainer:9000'
portainer_token: ${{ secrets.PORTAINER_API_TOKEN }}
stack_name: 'ultra-todo'
compose_file: 'docker-compose.yml'