From 2a35a534d4682fa6e74950e32256fc13a58bd261 Mon Sep 17 00:00:00 2001 From: BlazeIsClone Date: Mon, 16 Sep 2024 21:25:49 +0530 Subject: [PATCH] cicd: update publish image trigger --- .../workflows/{image-repository.yml => publish-image.yml} | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) rename .github/workflows/{image-repository.yml => publish-image.yml} (95%) diff --git a/.github/workflows/image-repository.yml b/.github/workflows/publish-image.yml similarity index 95% rename from .github/workflows/image-repository.yml rename to .github/workflows/publish-image.yml index b71d38e..60f294b 100644 --- a/.github/workflows/image-repository.yml +++ b/.github/workflows/publish-image.yml @@ -1,8 +1,8 @@ -name: Build & Push Images +name: Publish Docker image on: - push: - branches: ["main"] + release: + types: [published] env: REGISTRY: ghcr.io