From 6ff5e3a696f440981cc2646e746d7e18ad575052 Mon Sep 17 00:00:00 2001 From: log101 Date: Thu, 13 Jun 2024 17:00:35 +0300 Subject: [PATCH] ci: only deploy on release branch --- .gitea/workflows/push-registry.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/push-registry.yml b/.gitea/workflows/push-registry.yml index ea14776..2ec52f5 100644 --- a/.gitea/workflows/push-registry.yml +++ b/.gitea/workflows/push-registry.yml @@ -2,7 +2,10 @@ run-name: Create and publish a Docker image # Configures this workflow to run every time a change is pushed to the branch called `release`. -on: [push] +on: + push: + branches: + - "release" # Defines two custom environment variables for the workflow. These are used for the Container registry domain, and a name for the Docker image that this workflow builds. env: