Skip to content
This repository has been archived by the owner on Mar 16, 2024. It is now read-only.

Commit

Permalink
Add kubeconfig to readme
Browse files Browse the repository at this point in the history
  • Loading branch information
vincent99 committed Oct 21, 2022
1 parent 7c31692 commit 480b645
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
publish:
steps:
- uses: actions/checkout@master
- uses: acorn-io/actions-setup@v1
- uses: acorn-io/actions-setup@v2
- run: |
acorn --version # acorn build, acorn run, etc
```
Expand All @@ -25,6 +25,7 @@ jobs:
| --------------- | -----------| ----------- |
| `acorn-init` | `true` | Run `acorn init` to install the runtime into the cluster
| `acorn-version` | `"latest"` | Version of Acorn to install
| `kubeconfig` | (none) | Contents of a kubeconfig to use instead of spinning up k3s
| `k3s-cleanup` | `true` | Cleanup the k3s container after job completion
| `k3s-install` | `true` | Spin up a container running k3s for acorn to run in
| `k3s-version` | `"latest"` | Version of K3s to install
Expand All @@ -41,12 +42,10 @@ jobs:
publish:
steps:
- uses: actions/checkout@master
- uses: acorn-io/actions-setup@v1
- uses: acorn-io/actions-setup@v2
with:
k3s-install: false
acorn-init: false
- env:
KUBECONFIG: '/path/to/your/kubeconfig.yaml'
kubeconfig: ${{secrets.YOUR_KUBECONFIG}}
acorn-init: true # If acorn is already installed, set this to false
run: |
acorn --version # acorn build, acorn run, etc
```
Expand Down

0 comments on commit 480b645

Please sign in to comment.