Removed compose/docker steps as Portainer CE doesn't allow automating deployments.
All checks were successful
Build and Push Docker Image / docker (push) Successful in 31s
All checks were successful
Build and Push Docker Image / docker (push) Successful in 31s
This commit is contained in:
@ -20,10 +20,4 @@ jobs:
|
||||
run: |
|
||||
IMAGE=gitea.masita.net/mc/messengerapi:latest
|
||||
docker build -t $IMAGE .
|
||||
docker push $IMAGE
|
||||
|
||||
- name: Redeploy Portainer Stack
|
||||
run: |
|
||||
curl -k -X POST "${{ secrets.PORTAINER_URL }}/api/stacks/${{ secrets. PORTAINER_STACK_ID_MESSENGER_API_DEVELOP }}/redeploy" \
|
||||
-H "Authorization: Bearer ${{ secrets.PORTAINER_TOKEN }}" \
|
||||
-H "Content-Type: application/json"
|
||||
docker push $IMAGE
|
||||
Reference in New Issue
Block a user