Files
containers/.github/workflows/sync.yaml
Fran Mulero 2c1f14f74b [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>
2022-06-30 18:09:49 +02:00

27 lines
732 B
YAML

name: Sync containers repositories
on:
schedule:
# Every day at 1 AM
- cron: '0 1 * * *'
workflow_dispatch:
inputs:
shift:
description: 'Commits to shift if you edited the containers folder'
default: '0'
container:
description: 'Sync only the container specified'
default: ''
jobs:
build:
name: Trigger Containers Synchronization
runs-on: ubuntu-latest
steps:
- name: Checkout bitnami/containers
uses: actions/checkout@v3
with:
token: ${{ secrets.BITNAMI_BOT_SECRET }}
fetch-depth: 0
- name: Sync Containers
run: ./scripts/sync.sh ${{ github.event.inputs.shift }} ${{ github.event.inputs.container }}