Skip to content

Dockerfile Updater #48586

Dockerfile Updater

Dockerfile Updater #48586

Workflow file for this run

name: Dockerfile Updater
on:
workflow_dispatch:
schedule:
# Runs every half hour
- cron: "*/30 * * * *"
permissions: read-all
jobs:
update_dockerfile:
permissions:
contents: write
pull-requests: write
if: startsWith(github.repository, 'adoptium/')
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false
- uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
with:
python-version: "3.x"
- name: Install dependencies
run: "pip3 install -r requirements.txt"
- name: Run updater
run: "python3 generate_dockerfiles.py --force"
- uses: gr2m/create-or-update-pull-request-action@488876a65a2ca38b7eb05e9086166337087f5323 # v1.10.0
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]>"