From 98cd04aab997fbed14ff585af472ce710c029d60 Mon Sep 17 00:00:00 2001
From: Tomer Shefler <sheflertomer@gmail.com>
Date: Wed, 20 Dec 2023 17:20:36 +0200
Subject: [PATCH] Set App version to be the container tag name

---
 .github/workflows/operator.yaml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/operator.yaml b/.github/workflows/operator.yaml
index d25583e2..15e0b91a 100644
--- a/.github/workflows/operator.yaml
+++ b/.github/workflows/operator.yaml
@@ -50,10 +50,10 @@ jobs:
           VERSION=1.99.99
           REPO=octarinesec
           cd ${{ github.workspace }}/charts/cbcontainers-operator/cbcontainers-operator-chart
-          helm package . --version $VERSION --app-version $VERSION
+          helm package . --version $VERSION --app-version develop
           helm push *.tgz oci://registry-1.docker.io/$REPO
           cd ${{ github.workspace }}/charts/cbcontainers-agent/cbcontainers-agent-chart
-          helm package . --version $VERSION --app-version $VERSION
+          helm package . --version $VERSION --app-version main
           helm push *.tgz oci://registry-1.docker.io/$REPO
   build:
     runs-on: ubuntu-latest