This repository was archived by the owner on Mar 16, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change 14
14
publish :
15
15
steps :
16
16
- uses : actions/checkout@master
17
- - uses : acorn-io/actions-setup@v1
17
+ - uses : acorn-io/actions-setup@v2
18
18
- run : |
19
19
acorn --version # acorn build, acorn run, etc
20
20
` ` `
25
25
| --------------- | -----------| ----------- |
26
26
| ` acorn-init` | `true` | Run `acorn init` to install the runtime into the cluster
27
27
| `acorn-version` | `"latest"` | Version of Acorn to install
28
+ | `kubeconfig` | (none) | Contents of a kubeconfig to use instead of spinning up k3s
28
29
| `k3s-cleanup` | `true` | Cleanup the k3s container after job completion
29
30
| `k3s-install` | `true` | Spin up a container running k3s for acorn to run in
30
31
| `k3s-version` | `"latest"` | Version of K3s to install
@@ -41,12 +42,10 @@ jobs:
41
42
publish:
42
43
steps:
43
44
- uses: actions/checkout@master
44
- - uses: acorn-io/actions-setup@v1
45
+ - uses: acorn-io/actions-setup@v2
45
46
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
50
49
run: |
51
50
acorn --version # acorn build, acorn run, etc
52
51
` ` `
You can’t perform that action at this time.
0 commit comments