Skip to content

Weekly Dockerfile Update #5

Weekly Dockerfile Update

Weekly Dockerfile Update #5

Workflow file for this run

name: Update Dockerfile
on:
schedule:
- cron: '0 7 * * SAT'
workflow_dispatch:
jobs:
update-dockerfile:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install dependencies
run: pip install requests
- name: Run update script
run: python update_dockerfile.py
- name: Commit and push changes
if: success()
run: |
git config --global user.name 'github-actions[bot]'
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
git add Dockerfile
git commit -m 'Update Dockerfile with latest versions'
git push
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}