Skip to content

Dockerfile Updater #30994

Dockerfile Updater

Dockerfile Updater #30994

Workflow file for this run

name: Dockerfile Updater
on:
workflow_dispatch:
schedule:
# Runs every half hour
- cron: "*/30 * * * *"
permissions:
contents: read
jobs:
update_dockerfile:
if: startsWith(github.repository, 'adoptium/')
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
with:
persist-credentials: false
- uses: actions/setup-python@65d7f2d534ac1bc67fcd62888c5f4f3d2cb2b236 # v4.7.1
with:
python-version: "3.x"
- name: Install dependencies
run: "pip3 install -r requirements.txt"
- name: Run updater
run: "python3 generate_dockerfiles.py"
- uses: gr2m/create-or-update-pull-request-action@dc1726cbf4dd3ce766af4ec29cfb660e0125e8ee # v1
env:
GITHUB_TOKEN: ${{ secrets.ADOPTIUM_TEMURIN_BOT_TOKEN }}
with:
title: "Update Dockerfiles"
body: "This is an automatically generated pull request, it will be automatically merged if all the CI tests pass."
branch: "dockerfile_bot"
commit-message: "dockerfile: automated nightly updates"
labels: automerge
author: "eclipse-temurin-bot <[email protected]>"