mark FP on rexml on Alpine for CVE-2021-28965 (#189) #186
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: "Update SBOMs" | |
| on: | |
| workflow_dispatch: | |
| push: | |
| branches: | |
| - main | |
| env: | |
| PYTHON_VERSION: "3.13" | |
| jobs: | |
| Publish-SBOMS: | |
| name: "Publish SBOMs" | |
| runs-on: ubuntu-22.04-4core-16gb | |
| # set the permissions granted to the github token to publish to ghcr.io | |
| permissions: | |
| contents: read | |
| packages: write | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| with: | |
| persist-credentials: false | |
| - name: Setup Python | |
| uses: actions/setup-python@61a6322f88396a6271a6ee3565807d608ecaddd1 #v4.7.0 | |
| with: | |
| python-version: ${{ env.PYTHON_VERSION }} | |
| - uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0 | |
| with: | |
| path: venv | |
| key: ${{ hashFiles('requirements.txt') }}-${{ hashFiles('Makefile') }} | |
| - name: Login to GitHub Container Registry | |
| run: | | |
| echo ${{ secrets.GITHUB_TOKEN }} | oras login ghcr.io --username ${GITHUB_ACTOR} --password-stdin | |
| - name: Update and publish SBOMs | |
| run: make update-and-publish-sboms |