feat(publish-workflow): fixes
This commit is contained in:
1 file changed
+18
-2
@@ -11,10 +11,26 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
chart-name: 'zipline'
|
chart-name: 'zipline'
|
||||||
secrets: inherit
|
secrets: inherit
|
||||||
deploy-zipline:
|
get-chart-version:
|
||||||
|
name: Get Zipline Chart Version
|
||||||
needs: publish-zipline
|
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=$CHART_VERSION" >> $GITHUB_OUTPUT
|
||||||
|
deploy-zipline:
|
||||||
|
name: Deploy Zipline Helm Chart
|
||||||
|
needs: get-chart-version
|
||||||
uses: ./.github/workflows/deploy-helm-chart.yml
|
uses: ./.github/workflows/deploy-helm-chart.yml
|
||||||
with:
|
with:
|
||||||
deployment-identifier: 'zipline'
|
deployment-identifier: 'zipline'
|
||||||
chart-version: ${{ needs.publish-zipline.outputs.chart-version }}
|
chart-version: ${{ needs.get-chart-version.outputs.chart-version }}
|
||||||
secrets: inherit
|
secrets: inherit
|
||||||
Reference in new issue
Block a user