mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2026-01-12 13:01:10 +00:00
github attestation
This commit is contained in:
parent
73dceafa83
commit
72d806aaf1
2 changed files with 12 additions and 1 deletions
9
.github/workflows/jf-cli.yml
vendored
9
.github/workflows/jf-cli.yml
vendored
|
|
@ -6,6 +6,7 @@ permissions:
|
|||
packages: write # for uploading attestations.
|
||||
contents: read
|
||||
security-events: write # Required for uploading code scanning.
|
||||
attestations: write
|
||||
env:
|
||||
JF_RT_URL: "https://${{vars.JF_NAME}}.jfrog.io"
|
||||
BUILD_NAME: "spring-petclinic"
|
||||
|
|
@ -227,6 +228,14 @@ jobs:
|
|||
|
||||
jf rt bdc ${{env.RT_REPO_DOCKER_VIRTUAL}} --image-file ${{env.DOCKER_METADATA_JSON}} --build-name=${{env.BUILD_NAME}} --build-number=${{env.BUILD_ID}}
|
||||
|
||||
|
||||
- name: "Evidence: GitHub Attestation"
|
||||
uses: actions/attest-build-provenance@v3
|
||||
with:
|
||||
subject-name: "oci://${{env.RT_REPO_DOCKER_URL}}"
|
||||
subject-digest: "${{env.DOCKER_METADATA_JSON}}" # "${{steps.config-docker.outputs.digest}}"
|
||||
|
||||
|
||||
- name: "BuildInfo: Build Publish"
|
||||
run: jf rt bp ${{env.BUILD_NAME}} ${{env.BUILD_ID}} --detailed-summary=true
|
||||
|
||||
|
|
|
|||
|
|
@ -4,5 +4,7 @@
|
|||
"path": "."
|
||||
}
|
||||
],
|
||||
"settings": {}
|
||||
"settings": {
|
||||
"java.compile.nullAnalysis.mode": "automatic"
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue