[containers/*]Improve sync workflow (#12)

* Improve sync script to remove deprecated repos and include new ones

Signed-off-by: Fran Mulero <fmulero@vmware.com>

* Add sudo to install git-filter--repo

Signed-off-by: Fran Mulero <fmulero@vmware.com>

* Rename fetch script and Amend linter

Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>

* Sort results

Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>

Co-authored-by: Bitnami Containers <bitnami-bot@vmware.com>
This commit is contained in:
Fran Mulero
2022-06-30 18:09:49 +02:00
committed by GitHub
co-authored by Bitnami Containers
parent 32e49f4cb9
commit 2c1f14f74b
3 changed files with 73 additions and 120 deletions
+5 -5
View File
@@ -7,14 +7,14 @@ on:
workflow_dispatch:
inputs:
shift:
description: 'Commits to shift if you edited the containers folder'
description: 'Commits to shift if you edited the containers folder'
default: '0'
container:
description: 'Sync only the container specified'
description: 'Sync only the container specified'
default: ''
jobs:
build:
name: Trigger Site Rebuild
name: Trigger Containers Synchronization
runs-on: ubuntu-latest
steps:
- name: Checkout bitnami/containers
@@ -22,5 +22,5 @@ jobs:
with:
token: ${{ secrets.BITNAMI_BOT_SECRET }}
fetch-depth: 0
- name: Fetch
run: ./scripts/fetch-commits.sh ${{ github.event.inputs.shift }} ${{ github.event.inputs.container }}
- name: Sync Containers
run: ./scripts/sync.sh ${{ github.event.inputs.shift }} ${{ github.event.inputs.container }}