From 08b04997a6123cbabb768cb9387875184c6907b1 Mon Sep 17 00:00:00 2001 From: Pavel Chernovsky Date: Thu, 7 Dec 2023 11:24:51 +0200 Subject: [PATCH] package and push 02 --- .github/workflows/operator.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/operator.yaml b/.github/workflows/operator.yaml index a18e63bf..0a7c4ccd 100644 --- a/.github/workflows/operator.yaml +++ b/.github/workflows/operator.yaml @@ -53,7 +53,10 @@ jobs: run: make docker-build docker-push IMG=cbartifactory/${{ steps.meta.outputs.tags }} VERSION=${{ fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.version'] }} - name: Create and push chart run: | - VERSION=${{ fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.version'] }} + VERSION='1.2.3' cd ${{ github.workspace }}/charts/cbcontainers-operator/cbcontainers-operator-chart helm package . --version $VERSION --app-version $VERSION helm push *.tgz oci://registry-1.docker.io/cbartifactory + cd ${{ github.workspace }}/charts/cbcontainers-agent/cbcontainers-agent-chart + helm package . --version $VERSION --app-version $VERSION + helm push *.tgz oci://registry-1.docker.io/cbartifactory