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

Commit 480b645

Browse files
committed
Add kubeconfig to readme
1 parent 7c31692 commit 480b645

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

README.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
publish:
1515
steps:
1616
- uses: actions/checkout@master
17-
- uses: acorn-io/actions-setup@v1
17+
- uses: acorn-io/actions-setup@v2
1818
- run: |
1919
acorn --version # acorn build, acorn run, etc
2020
```
@@ -25,6 +25,7 @@ jobs:
2525
| --------------- | -----------| ----------- |
2626
| `acorn-init` | `true` | Run `acorn init` to install the runtime into the cluster
2727
| `acorn-version` | `"latest"` | Version of Acorn to install
28+
| `kubeconfig` | (none) | Contents of a kubeconfig to use instead of spinning up k3s
2829
| `k3s-cleanup` | `true` | Cleanup the k3s container after job completion
2930
| `k3s-install` | `true` | Spin up a container running k3s for acorn to run in
3031
| `k3s-version` | `"latest"` | Version of K3s to install
@@ -41,12 +42,10 @@ jobs:
4142
publish:
4243
steps:
4344
- uses: actions/checkout@master
44-
- uses: acorn-io/actions-setup@v1
45+
- uses: acorn-io/actions-setup@v2
4546
with:
46-
k3s-install: false
47-
acorn-init: false
48-
- env:
49-
KUBECONFIG: '/path/to/your/kubeconfig.yaml'
47+
kubeconfig: ${{secrets.YOUR_KUBECONFIG}}
48+
acorn-init: true # If acorn is already installed, set this to false
5049
run: |
5150
acorn --version # acorn build, acorn run, etc
5251
```

0 commit comments

Comments
 (0)