forked from mirrors/kingfisher
Merge pull request #316 from mongodb/development
This commit is contained in:
commit
7536a16677
2 changed files with 23 additions and 2 deletions
1
.github/workflows/pypi.yml
vendored
1
.github/workflows/pypi.yml
vendored
|
|
@ -145,3 +145,4 @@ jobs:
|
|||
with:
|
||||
packages-dir: dist-pypi
|
||||
verbose: true
|
||||
attestations: false
|
||||
|
|
|
|||
24
.github/workflows/release.yml
vendored
24
.github/workflows/release.yml
vendored
|
|
@ -457,8 +457,28 @@ jobs:
|
|||
uses: slsa-framework/slsa-github-generator/.github/workflows/generator_generic_slsa3.yml@f7dd8c54c2067bafc12ca7a55595d5ee9b75204a # v2.1.0
|
||||
with:
|
||||
base64-subjects: "${{ needs.hash.outputs.hashes }}"
|
||||
upload-assets: true
|
||||
upload-tag-name: "${{ needs.release.outputs.tag }}"
|
||||
upload-assets: false
|
||||
|
||||
upload-provenance:
|
||||
name: Upload provenance to release
|
||||
needs: [provenance, release]
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: write
|
||||
steps:
|
||||
- name: Download provenance artifact
|
||||
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
|
||||
with:
|
||||
name: ${{ needs.provenance.outputs.provenance-name }}
|
||||
- name: Upload to release
|
||||
env:
|
||||
GH_TOKEN: ${{ github.token }}
|
||||
TAG: ${{ needs.release.outputs.tag }}
|
||||
PROVENANCE_FILE: ${{ needs.provenance.outputs.provenance-name }}
|
||||
run: |
|
||||
gh release upload "${TAG}" "${PROVENANCE_FILE}" \
|
||||
--repo "${{ github.repository }}" \
|
||||
--clobber
|
||||
|
||||
# ──────────────── Publish Docker image ────────────────
|
||||
publish-docker:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue