Skip to content

Commit

Permalink
bump cosign installer to v3.2.0 and use always the latest cosign
Browse files Browse the repository at this point in the history
Signed-off-by: cpanato <ctadeu@gmail.com>
  • Loading branch information
cpanato authored and poiana committed Nov 10, 2023
1 parent 29964b3 commit 35a379a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/pages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Deploy Github Pages
on:
push:
branches: [main]

permissions:
contents: read
pages: write
Expand All @@ -20,25 +20,25 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- uses: actions/setup-python@v2
with:
python-version: 3.x

- name: Generate updated inventory
run: |
mkdir docs/
pip install -r .github/scripts/requirements.txt
python .github/scripts/rules_overview_generator.py --rules_dir=rules > docs/index.md
- name: Disable Table Of Content for overview
run: |
sed -i '1s/^/---\nhide:\n- toc\n---\n\n/' docs/index.md
- run: pip install mkdocs mkdocs-material

- run: mkdocs build

- uses: actions/upload-pages-artifact@v1
with:
path: 'site'
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,7 @@ jobs:
# Create a signature of the rules artifact as OCI artifact
- name: Install Cosign
uses: sigstore/cosign-installer@v3.1.0
with:
cosign-release: 'v2.1.0'
uses: sigstore/cosign-installer@v3.2.0

- name: Login with cosign
run: cosign login $OCI_REGISTRY --username ${{ github.repository_owner }} --password ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 35a379a

Please sign in to comment.