Skip to content

[EXTERNAL] fixing a typo on the its-a-match subject | PISCINE-JS #419

[EXTERNAL] fixing a typo on the its-a-match subject | PISCINE-JS

[EXTERNAL] fixing a typo on the its-a-match subject | PISCINE-JS #419

name: 🧼 Sanitize – Generated Docker Images
on:
pull_request:
types: [closed]
workflow_dispatch:
inputs:
keep-last:
description: >
Delete all untagged images except the last N
required: false
default: "1"
jobs:
delete-pr-tagged-image:
name: πŸ—‘οΈ Delete PR${{github.event.pull_request.number}} Image
runs-on: ubuntu-latest
steps:
- name: πŸ—‘οΈ Delete πŸ’» Sh image PR${{github.event.pull_request.number}}
uses: bots-house/[email protected]
with:
owner: 01-edu
name: test-sh
token: ${{ secrets.GITHUB_TOKEN }}
tag: PR${{github.event.pull_request.number}}
continue-on-error: true
- name: πŸ—‘οΈ Delete πŸš€ JS image PR${{github.event.pull_request.number}}
uses: bots-house/[email protected]
with:
owner: 01-edu
name: test-js
token: ${{ secrets.GITHUB_TOKEN }}
tag: PR${{github.event.pull_request.number}}
continue-on-error: true
- name: πŸ—‘οΈ Delete 🧩 DOM image PR${{github.event.pull_request.number}}
uses: bots-house/[email protected]
with:
owner: 01-edu
name: test-dom
token: ${{ secrets.GITHUB_TOKEN }}
tag: PR${{github.event.pull_request.number}}
continue-on-error: true
delete-untagged-images:
name: πŸ”₯ Clear Untagged Images
needs: delete-pr-tagged-image
runs-on: ubuntu-latest
steps:
- name: πŸ”₯ Clear all untagged πŸ’» Sh images
uses: bots-house/[email protected]
with:
owner: 01-edu
name: test-sh
token: ${{ secrets.GITHUB_TOKEN }}
untagged-keep-latest: ${{ github.event.inputs.keep-last }}
continue-on-error: true
- name: πŸ”₯ Clear all untagged πŸš€ JS images
uses: bots-house/[email protected]
with:
owner: 01-edu
name: test-js
token: ${{ secrets.GITHUB_TOKEN }}
untagged-keep-latest: ${{ github.event.inputs.keep-last }}
continue-on-error: true
- name: πŸ”₯ Clear all untagged 🧩 DOM images
uses: bots-house/[email protected]
with:
owner: 01-edu
name: test-dom
token: ${{ secrets.GITHUB_TOKEN }}
untagged-keep-latest: ${{ github.event.inputs.keep-last }}
continue-on-error: true