From e555f4a33bfa3693790f09bf661c9f924a31418d Mon Sep 17 00:00:00 2001 From: omeryusufyagci Date: Wed, 11 Dec 2024 21:19:04 +0100 Subject: [PATCH] CI: Update image release workflow to limit release scope This reverts the PR trigger which was used for testing, and now ensures the image will only be released on a PR merged to main since we're not allowing for a direct push to main. --- .github/workflows/build_and_publish_docker_image.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/build_and_publish_docker_image.yml b/.github/workflows/build_and_publish_docker_image.yml index ca093e9..fe96045 100644 --- a/.github/workflows/build_and_publish_docker_image.yml +++ b/.github/workflows/build_and_publish_docker_image.yml @@ -4,9 +4,7 @@ on: push: branches: - main - pull_request: - branches: - - main + jobs: build-and-push: