From f84f14d4dad64c01f14d99d2de5fec6c009fa9de Mon Sep 17 00:00:00 2001 From: jklein Date: Mon, 23 Feb 2026 14:18:27 +0100 Subject: [PATCH] feat(publish-workflow): fixes --- .github/workflows/publish-helm-chart.yml | 4 ++++ .github/workflows/publish-zipline.yml | 27 ++---------------------- 2 files changed, 6 insertions(+), 25 deletions(-) diff --git a/.github/workflows/publish-helm-chart.yml b/.github/workflows/publish-helm-chart.yml index 2af5f23..26366ca 100644 --- a/.github/workflows/publish-helm-chart.yml +++ b/.github/workflows/publish-helm-chart.yml @@ -22,6 +22,10 @@ on: required: true type: string description: "name of the helm chart" + outputs: + chart-version: + description: "the version of the published helm chart" + value: ${{ jobs.publish-helm-chart.outputs.chart-version }} secrets: OP_CONNECT_TOKEN: required: true diff --git a/.github/workflows/publish-zipline.yml b/.github/workflows/publish-zipline.yml index 983c7e8..4b20568 100644 --- a/.github/workflows/publish-zipline.yml +++ b/.github/workflows/publish-zipline.yml @@ -11,34 +11,11 @@ jobs: with: chart-name: 'zipline' secrets: inherit - get-chart-version: - name: Get Zipline Chart Version - needs: publish-zipline - outputs: - chart-version: ${{ steps.get-chart-version.outputs.CHART_VERSION }} - runs-on: ubuntu-latest - steps: - - name: "Checkout" - uses: actions/checkout@v2 - - name: "Get Helm Chart Version" - id: get-chart-version - run: |- - CHART_VERSION=$(grep '^version:' ${{ inputs.chart-name}}/Chart.yaml | awk '{print $2}') - echo $CHART_VERSION - echo "CHART_VERSION=test-version" >> $GITHUB_OUTPUT - debug-chart-version: - name: Debug Chart Version - runs-on: ubuntu-latest - needs: get-chart-version - steps: - - name: "Debug Chart Version" - run: |- - echo ${{ needs.get-chart-version.outputs.chart-version }} deploy-zipline: name: Deploy Zipline Helm Chart - needs: get-chart-version + needs: publish-zipline uses: ./.github/workflows/deploy-helm-chart.yml with: deployment-identifier: 'zipline' - chart-version: ${{ needs.get-chart-version.outputs.chart-version }} + chart-version: ${{ needs.publish-zipline.outputs.chart-version }} secrets: inherit