Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b0b1055f9d |
@@ -31,10 +31,3 @@ jobs:
|
|||||||
IMAGE="${{ vars.REGISTRY_HOST }}/${{ gitea.repository }}/claude-agent:latest"
|
IMAGE="${{ vars.REGISTRY_HOST }}/${{ gitea.repository }}/claude-agent:latest"
|
||||||
docker build -t "$IMAGE" ./agent
|
docker build -t "$IMAGE" ./agent
|
||||||
docker push "$IMAGE"
|
docker push "$IMAGE"
|
||||||
|
|
||||||
- name: Trigger Portainer redeploy
|
|
||||||
# Deliberately NOT a separate Gitea repo webhook firing in parallel on the same
|
|
||||||
# push — that raced with this build and could redeploy before the new image was
|
|
||||||
# actually pushed, silently keeping the old code running. Chaining it here as the
|
|
||||||
# last step guarantees the image exists before Portainer goes to pull it.
|
|
||||||
run: curl -f -X POST "${{ secrets.PORTAINER_WEBHOOK_URL }}"
|
|
||||||
|
|||||||
Reference in New Issue
Block a user