[Backport master] Use getRawStatusCode to avoid getting an exception on fake status code 999, convert it to 406 Not Acceptable #1936
Workflow file for this run
This file contains 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: Clean docker hub tags | |
on: | |
delete: | |
pull_request: | |
types: | |
- closed | |
jobs: | |
clean: | |
name: Clean docker hub tags | |
runs-on: ubuntu-24.04 | |
timeout-minutes: 5 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: camptocamp/initialise-gopass-summon-action@v2 | |
with: | |
ci-gpg-private-key: ${{secrets.CI_GPG_PRIVATE_KEY}} | |
github-gopass-ci-token: ${{secrets.GOPASS_CI_GITHUB_TOKEN}} | |
patterns: docker | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: '3.13' | |
- run: python3 -m pip install --requirement=ci/requirements.txt | |
- name: Clean Docker hub tags | |
run: c2cciutils-clean |