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 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` ` `
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` ` `
You can’t perform that action at this time.
0 commit comments