Skip to content

[Error] Error: unknown flag: --home #25

@vietwow

Description

@vietwow

Hi all,

My Github Action was :

deployment:
    name: Deployment
    needs: build-and-push
    runs-on: 'ubuntu-latest'
    steps:
    - name: 'Checkout'  # Checkout the repository code.
      uses: 'actions/checkout@v1'

    - name: 'Deploy'
      uses: 'deliverybot/helm@master'
      with:
        helm: helm3
        release: my_service
        namespace: default
        chart: 'charts/app'
        version: '${{ github.sha }}'
        values: |
          env:
            ...
      env:
        KUBECONFIG_FILE: '${{ secrets.KUBECONFIG }}'

Everything was working fine
Until today I got CI fail with below error (without change anything in workflow):

Deploy1s
##[error]The process 'helm3' failed with exit code 1
Run deliverybot/helm@master
/usr/bin/docker run --name e87b5235ad321ecd91481da0869798ec4f9210_734b6e --label e87b52 --workdir /github/workspace --rm -e KUBECONFIG_FILE -e INPUT_HELM -e INPUT_RELEASE -e INPUT_NAMESPACE -e INPUT_CHART -e INPUT_VERSION -e INPUT_VALUES -e INPUT_DRY-RUN -e INPUT_TOKEN -e INPUT_VALUE-FILES -e INPUT_SECRETS -e HOME -e GITHUB_REF -e GITHUB_SHA -e GITHUB_REPOSITORY -e GITHUB_RUN_ID -e GITHUB_RUN_NUMBER -e GITHUB_ACTOR -e GITHUB_WORKFLOW -e GITHUB_HEAD_REF -e GITHUB_BASE_REF -e GITHUB_EVENT_NAME -e GITHUB_WORKSPACE -e GITHUB_ACTION -e GITHUB_EVENT_PATH -e RUNNER_OS -e RUNNER_TOOL_CACHE -e RUNNER_TEMP -e RUNNER_WORKSPACE -e ACTIONS_RUNTIME_URL -e ACTIONS_RUNTIME_TOKEN -e ACTIONS_CACHE_URL -e GITHUB_ACTIONS=true -v "/var/run/docker.sock":"/var/run/docker.sock" -v "/home/runner/work/_temp/_github_home":"/github/home" -v "/home/runner/work/_temp/_github_workflow":"/github/workflow" -v "/home/runner/work/my_service/my_service":"/github/workspace" e87b52:35ad321ecd91481da0869798ec4f9210
helm3 upgrade my_service charts/app --install --wait --atomic --namespace=default --home=/root/.helm/ --set=app.name=my_service --set=app.version=4ca54d0979e80bc99254313c0af495830519de8e --values=./values.yml
Error: unknown flag: --home
##[error]Error: The process 'helm3' failed with exit code 1
##[error]The process 'helm3' failed with exit code 1

I have tried to run CI pipeline again but still the same error.

Any help ? Thank you so much.

Best regards,
VietNC

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions