Skip to content

fix(obc): Use root scope for values (#1487) #92

fix(obc): Use root scope for values (#1487)

fix(obc): Use root scope for values (#1487) #92

Workflow file for this run

name: publish
on:
push:
branches: [ master, release/* ]
paths:
- "staging/**"
- "stable/**"
- ".github/workflows/publish.yml"
jobs:
charts:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Install asdf plugins
uses: asdf-vm/actions/install@v2
- name: gather versions
uses: jimmidyson/asdf-parse-tool-versions@v2
id: versions
# We're switching directories for building the charts, so we need to set the helm and chart testing plugins
# to the correct version globally.
# Otherwise, we're getting errors like:
# Consider adding one of the following versions in your config file at
# helm 3.10.1
# Even though step giving a warning in the log it's still working.
- name: Set global tool versions
env:
HELM_VERSION: ${{ fromJson(steps.versions.outputs.tools).helm }}
HELM_CT_VERSION: ${{ fromJson(steps.versions.outputs.tools).helm-ct }}
run: |
asdf global helm $HELM_VERSION
asdf global helm-ct $HELM_CT_VERSION
- name: Publish charts
run: make publish
env:
COMMIT_EMAIL: "ci@mesosphere.com"
COMMIT_USERNAME: "D2iQ CI"
GIT_REMOTE_URL: "https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/mesosphere/charts.git"