From 7b4b65053b4e96dd712f53e63b7f89d68ac28e62 Mon Sep 17 00:00:00 2001 From: shats Date: Tue, 10 Feb 2026 16:01:48 +0700 Subject: [PATCH] feat(workflows): add container update webhook trigger to Docker publish workflows --- .gitea/workflows/docker-publish-fast.yml | 6 +++++- .gitea/workflows/docker-publish.yml | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/docker-publish-fast.yml b/.gitea/workflows/docker-publish-fast.yml index f7c58b7..56a3c0d 100644 --- a/.gitea/workflows/docker-publish-fast.yml +++ b/.gitea/workflows/docker-publish-fast.yml @@ -52,4 +52,8 @@ jobs: - name: Cleanup old images run: | - echo "Skipping container registry cleanup (inline cache in image). Keep 3 latest image tags logic can be added with regctl if needed." \ No newline at end of file + echo "Skipping container registry cleanup (inline cache in image). Keep 3 latest image tags logic can be added with regctl if needed." + + - name: Trigger container update webhook + run: | + curl -X POST -sS --fail https://docker.shts.su/api/webhooks/d3fd3b6a-c670-4035-9357-2fde8aa76b6e \ No newline at end of file diff --git a/.gitea/workflows/docker-publish.yml b/.gitea/workflows/docker-publish.yml index fdc10bf..617a8e0 100644 --- a/.gitea/workflows/docker-publish.yml +++ b/.gitea/workflows/docker-publish.yml @@ -44,4 +44,8 @@ jobs: org.opencontainers.image.revision=${{ gitea.sha }} org.opencontainers.image.created=${{ gitea.event.head_commit.timestamp }} build-args: | - BUILDKIT_INLINE_CACHE=1 \ No newline at end of file + BUILDKIT_INLINE_CACHE=1 + + - name: Trigger container update webhook + run: | + curl -X POST -sS --fail https://docker.shts.su/api/webhooks/d3fd3b6a-c670-4035-9357-2fde8aa76b6e \ No newline at end of file