fix some incorrect openjfx entries (#229) #244
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: "Publish Vulnerability Index Specs (development)" | |
| on: | |
| workflow_dispatch: | |
| push: | |
| branches: | |
| - main | |
| concurrency: | |
| group: publish-vuln-index-specs | |
| cancel-in-progress: true | |
| permissions: | |
| contents: read | |
| jobs: | |
| publish-vuln-index-specs: | |
| name: "Publish Vulnerability Index Specs (development)" | |
| runs-on: runs-on=${{ github.run_id }}/runner=small-arm | |
| container: | |
| image: python:3.13-alpine | |
| permissions: | |
| contents: write | |
| packages: write | |
| steps: | |
| - name: Install OS dependencies | |
| run: apk add --no-cache git taplo sqlite tar zstd curl oras-cli bash | |
| - name: Configure git | |
| run: git config --global --add safe.directory "$GITHUB_WORKSPACE" | |
| - name: Install python dependencies | |
| run: pip install git+https://github.com/anchore/security-cli | |
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 #v7.0.1 | |
| with: | |
| persist-credentials: false | |
| - name: Render the vulnerability index specs sqlite | |
| run: anchore-security-cli -v vuln-index spec render --data-path data -o ${{ runner.temp }}/vuln-index-specs | |
| - name: Login to GHCR via oras | |
| run: echo ${{ secrets.GITHUB_TOKEN }} | oras login ghcr.io --username "${GITHUB_ACTOR}" --password-stdin | |
| - name: Publish the vulnerability index specs sqlite | |
| run: anchore-security-cli -vvv vuln-index spec publish --index-dir ${{ runner.temp }}/vuln-index-specs --deploy-to=development |