ci: add a temporary workflow that list the arch tags to remove (#12403)

This commit is contained in:
🏔️ Peak
2026-11-02 00:45:50 +01:00
committed by GitHub
4 changed files with 276 additions and 1 deletions
+3
View File
@@ -36,6 +36,9 @@ workflows:
'.github/workflows/request-docs-update.yaml': []
'.github/workflows/stale.yaml':
- 'actions/stale@v11.0.0'
'.github/workflows/tmp-remove-arch-tags.yaml':
- 'actions/checkout@v7.0.1'
- 'actions/upload-artifact@v7.0.2'
dependencies:
'actions/checkout@v7.0.1':
ref: 'v7.0.1'
@@ -0,0 +1,48 @@
name: TMP Remove arch tags
on:
workflow_dispatch:
permissions: {}
cache-mode: none
concurrency:
group: clean-manifests
cancel-in-progress: false
defaults:
run:
shell: bash
jobs:
remove:
name: Remove arch tags
if: ${{ github.repository == 'coollabsio/coolify' }}
permissions:
contents: read
environment:
name: cleanup
deployment: false
runs-on: ubuntu-26.04 # https://github.com/actions/runner-images
timeout-minutes: 60
steps:
- name: Check out the repository
uses: actions/checkout@v7.0.1
with:
persist-credentials: false
- name: List the arch tags to remove
env:
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_CLEANUP_USERNAME }}
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_CLEANUP_TOKEN }}
run: scripts/tmp-remove-arch-tags.sh
- name: Upload the list of arch tags to remove
if: ${{ always() }}
uses: actions/upload-artifact@v7.0.2
with:
name: arch-tags-to-remove
path: scripts/arch-tags-to-remove.tsv
if-no-files-found: ignore
retention-days: 90