Skip to content

Update python dockerfile #42

Update python dockerfile

Update python dockerfile #42

name: Update python dockerfile
on:
schedule:
- cron: '0 4 * * *' # Run every day at 4 AM UTC
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: write
pull-requests: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/[email protected]
with:
ref: main
- name: Try to update dockerfile
working-directory: python
run: |
bash generate_dockerfile.sh
- name: Create Pull Request
uses: peter-evans/[email protected]
with:
commit-message: Updating to latest python version
add-paths: |
python/Dockerfile_*
branch: cron-python-update
title: Updating to latest python version
assignees: Hartorn
token: ${{ secrets.DOCKER_PYTHON_PR_TOKEN }}