Skip to content

chore(deps): bump sigstore/cosign-installer from 3.2.0 to 3.3.0 #69

chore(deps): bump sigstore/cosign-installer from 3.2.0 to 3.3.0

chore(deps): bump sigstore/cosign-installer from 3.2.0 to 3.3.0 #69

name: Cleanup Pull-Request Image
on:
pull_request:
types: [closed]
permissions:
contents: read
env:
REGISTRY: ghcr.io
jobs:
delete-images:
runs-on: ubuntu-latest
permissions:
packages: write
steps:
- uses: sigstore/cosign-installer@9614fae9e5c5eddabb09f90a270fcb487c9f7149 # v3.3.0
- uses: docker/login-action@343f7c4344506bcbf9b4de18042ae17996df046d # v3.0.0
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- run: cosign clean -f --type=signature "${{ env.REGISTRY }}/${{ github.repository }}:pr-${{ github.event.pull_request.number }}"
- uses: bots-house/ghcr-delete-image-action@3827559c68cb4dcdf54d813ea9853be6d468d3a4 # v1.1.0
with:
owner: ${{ github.repository_owner }}
name: ${{ github.event.repository.name }}
token: ${{ secrets.GITHUB_TOKEN }}
tag: pr-${{ github.event.pull_request.number }}