Adding more context in Chainloop configs

Signed-off-by: Daniel Liszka <daniel@chainloop.dev>
This commit is contained in:
Daniel Liszka 2023-10-04 23:12:01 +02:00
parent fb68308e30
commit 299e916257
No known key found for this signature in database
GPG key ID: 758D794CB79E08C9
2 changed files with 4 additions and 0 deletions

View file

@ -1,3 +1,4 @@
# defines files to be added to the attestation
attestation:
- name: binary
path: artifacts/spring-petclinic-*.jar

View file

@ -28,11 +28,14 @@ jobs:
- name: Build with Maven Wrapper
run: ./mvnw -B package
# Upload the built jar as an artifact so that it can be used in the Chainloop job
- uses: actions/upload-artifact@v3
with:
name: artifacts
path: target/*.jar
# Chainloop integration
# will run only if the build job is successful
chainloop:
name: Chainloop
uses: chainloop-dev/labs/.github/workflows/chainloop.yml@a75dff2ef342a1e5c5e1ec5c42fb99f3d1bc03cb