Integrate new portainer-deploy-action
Some checks failed
Build and Deploy / build-and-deploy (push) Failing after 4s
Some checks failed
Build and Deploy / build-and-deploy (push) Failing after 4s
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user