Skip to content

Update docker/build-push-action action to v6 #13

Update docker/build-push-action action to v6

Update docker/build-push-action action to v6 #13

Workflow file for this run

name: PR cleanup
on:
pull_request:
types: [closed]
jobs:
cleanup:
runs-on: 'ubuntu-latest'
steps:
-
name: Checkout
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4
with:
submodules: recursive
-
name: Delete pr image on Quay
id: delete_pr_image
env:
PR_NUMBER: '${{ github.event.pull_request.number }}'
QUAYIO_API_TOKEN: '${{ secrets.QUAYIO_API_TOKEN }}'
run: |
curl -X DELETE -H "Authorization: Bearer ${QUAYIO_API_TOKEN}" https://quay.io/api/v1/repository/acend/welcome-training-app/tag/pr-${PR_NUMBER}