From 8197e7fc8136c2c1c1e87f882a3d870059d78514 Mon Sep 17 00:00:00 2001 From: Ankur Kothiwal Date: Thu, 17 Feb 2022 17:39:28 +0530 Subject: [PATCH] update stable tag when the latest version release branch is updated Signed-off-by: Ankur Kothiwal --- .github/workflows/stable-release.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/stable-release.yml b/.github/workflows/stable-release.yml index 07906a4c29..43ffc18c76 100644 --- a/.github/workflows/stable-release.yml +++ b/.github/workflows/stable-release.yml @@ -2,7 +2,7 @@ on: push: # Sequence of patterns matched against refs/tags branches: - - 'main' + - 'v*' paths: - 'STABLE-RELEASE' @@ -18,6 +18,8 @@ jobs: steps: - name: Checkout KubeArmor code uses: actions/checkout@v2 + with: + ref: main - name: Pull Docker Hub image run: |