Skip to content

Commit c2a17ad

Browse files
authored
Merge pull request #9 from kosli-dev/update-readme-for-v3
Update the README to reference v3 of this action
2 parents 2f5bb3e + 8e99697 commit c2a17ad

1 file changed

Lines changed: 11 additions & 11 deletions

File tree

README.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
This action sets up the [Kosli](https://kosli.com) [CLI](https://github.com/kosli-dev/cli), on GitHub's hosted Actions runners.
88

9-
This action can be run on `ubuntu-latest`, `windows-latest`, and `macos-latest` GitHub Actions runners,
9+
This action can be run on `ubuntu-latest`, `windows-latest`, and `macos-latest` GitHub Actions runners,
1010
and will install and expose a specified version of the `kosli` CLI on the runner environment.
1111

1212
## Usage
@@ -15,15 +15,15 @@ Setup the `kosli` CLI:
1515

1616
```yaml
1717
steps:
18-
- uses: kosli-dev/setup-cli-action@v2
18+
- uses: kosli-dev/setup-cli-action@v3
1919
```
2020
2121
A specific version of the `kosli` CLI can be installed:
2222

2323
```yaml
2424
steps:
2525
- name: setup-kosli-cli
26-
uses: kosli-dev/setup-cli-action@v2
26+
uses: kosli-dev/setup-cli-action@v3
2727
with:
2828
version:
2929
2.11.43
@@ -39,31 +39,31 @@ The actions supports the following inputs:
3939
See [Kosli CLI documentation](https://docs.kosli.com/)
4040

4141
```yaml
42-
env:
42+
env:
4343
KOSLI_DRY_RUN: ${{ vars.KOSLI_DRY_RUN }} # false
4444
KOSLI_API_TOKEN: ${{ secrets.KOSLI_API_TOKEN }}
4545
KOSLI_ORG: my-org
4646
KOSLI_FLOW: my-flow
4747
KOSLI_TRAIL: ${{ github.sha }}
48-
49-
jobs:
48+
49+
jobs:
5050
build-image:
5151
runs-on: ubuntu-latest
5252
steps:
5353
- ...
54-
54+
5555
- name: Build and push Docker image to ECR
5656
id: build
5757
uses: docker/build-push-action@v5
5858
with:
5959
push: true
6060
...
61-
61+
6262
- name: Setup kosli
63-
uses: kosli-dev/setup-cli-action@v2
64-
63+
uses: kosli-dev/setup-cli-action@v3
64+
6565
- name: Attest ECR image provenance
66-
run:
66+
run:
6767
kosli attest artifact "${IMAGE_NAME}" --artifact-type=oci
6868
```
6969

0 commit comments

Comments
 (0)