File tree Expand file tree Collapse file tree 2 files changed +24
-10
lines changed
Expand file tree Collapse file tree 2 files changed +24
-10
lines changed Original file line number Diff line number Diff line change 11MIT License
22
3- Copyright (c) 2022 Kosli, Inc
3+ Copyright (c) 2025 Kosli, Inc
44
55Permission is hereby granted, free of charge, to any person obtaining a copy
66of this software and associated documentation files (the "Software"), to deal
Original file line number Diff line number Diff line change @@ -43,21 +43,35 @@ The actions supports the following inputs:
4343# # Example job
4444
4545` ` ` yaml
46- jobs:
47- example:
46+ env:
47+ KOSLI_DRY_RUN: ${{ vars.KOSLI_DRY_RUN }} # false
48+ KOSLI_API_TOKEN: ${{ secrets.KOSLI_API_TOKEN }}
49+ KOSLI_ORG: my-org
50+ KOSLI_FLOW: my-flow
51+ KOSLI_TRAIL: ${{ github.sha }}
52+
53+ jobs:
54+ build-image:
4855 runs-on: ubuntu-latest
49- env:
50- KOSLI_API_TOKEN: ${{ secrets.MY_KOSLI_API_TOKEN }}
51- KOSLI_ORG: my-org
5256 steps:
57+ - ...
58+
59+ - name: Build and push Docker image to ECR
60+ id: build
61+ uses: docker/build-push-action@v5
62+ with:
63+ push: true
64+ ...
65+
5366 - name: Setup kosli
5467 uses: kosli-dev/setup-cli-action@v2
5568 # uncomment below to install a specific version
5669 # with:
57- # version: 2.11.2
58- - name: create flow
59- run: |
60- kosli create flow my-flow --use-empty-template
70+ # version: 2.11.5
71+
72+ - name: Attest artifact provenance
73+ run:
74+ kosli attest artifact "${IMAGE_NAME}" --artifact-type=oci
6175` ` `
6276
6377# # License
You can’t perform that action at this time.
0 commit comments