kubectl icon indicating copy to clipboard operation
kubectl copied to clipboard

How to pass manifest file to command

Open AleksaRistic216 opened this issue 2 years ago • 0 comments

I am trying to create job like this:

  apply-resources:
    runs-on: ubuntu-latest
    environment: ${{ inputs.env }}
    needs: apply-resources
    steps:
    - uses: actions-hub/kubectl@master
      env:
        KUBE_CONFIG: ${{ secrets.KUBE_CONFIG }}
      with:
        args: apply -f src/k8s/services/my-service.yml

but getting error that file does not exist.

Is it possible to pass manifest file here somehow?

AleksaRistic216 avatar Dec 15 '23 00:12 AleksaRistic216