Skip to content

Commit

Permalink
package develop 00
Browse files Browse the repository at this point in the history
  • Loading branch information
Pavel Chernovsky committed Dec 17, 2023
1 parent 3323d60 commit eddd373
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .github/workflows/operator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:

jobs:
helm:
if: github.ref_type == 'tag'
if: github.ref_type == 'tag' || github.ref == 'refs/heads/CNS-3159-1'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -34,6 +34,7 @@ jobs:
tags: |
type=semver,pattern={{version}}
- name: Create and push chart
if: github.ref_type == 'tag'
run: |
VERSION=${{ steps.meta.outputs.tags }}
REPO=octarinesec
Expand All @@ -43,6 +44,17 @@ jobs:
cd ${{ github.workspace }}/charts/cbcontainers-agent/cbcontainers-agent-chart
helm package . --version $VERSION --app-version $VERSION
helm push *.tgz oci://registry-1.docker.io/$REPO
- name: Develop branch create and push chart
if: github.ref == 'refs/heads/CNS-3159-1'
run: |
VERSION=1.99.99
REPO=octarinesec
cd ${{ github.workspace }}/charts/cbcontainers-operator/cbcontainers-operator-chart
helm package . --version $VERSION --app-version $VERSION
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 push *.tgz oci://registry-1.docker.io/$REPO
build:
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit eddd373

Please sign in to comment.