Update Docker Image Whitelist #9
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Update Docker Image Whitelist | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- master | |
paths: | |
- 'docker/**' | |
permissions: | |
contents: write | |
pull-requests: write | |
jobs: | |
update-docker-image-whitelist: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/create-github-app-token@v1 | |
id: generate-token | |
with: | |
app-id: ${{ vars.ROBO_PR_APP_ID }} | |
private-key: ${{ secrets.ROBO_PR_CLIENT_SECRET }} | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Install uv | |
uses: astral-sh/setup-uv@v3 | |
with: | |
enable-cache: true | |
cache-dependency-glob: "uv.lock" | |
- name: "Set up Python" | |
uses: actions/setup-python@v5 | |
with: | |
python-version-file: "pyproject.toml" | |
- name: Install dependencies with uv | |
run: | | |
uv sync --all-extras --dev | |
- name: Run generate_dockerfiles.py | |
run: uv run update_image_whitelist.py | |
- name: Create Pull Request | |
uses: peter-evans/create-pull-request@v5 | |
with: | |
token: ${{ steps.generate-token.outputs.token }} | |
commit-message: Update image whitelist | |
title: 'Update Image Whitelist' | |
body: | | |
This PR updates `image_config.rs` with the latest published Docker image tags. | |
Generated automatically by the Update Docker Image Whitelist workflow. | |
branch: autopr-update-image-whitelist | |
delete-branch: true | |
base: master | |
labels: | | |
automated pr | |
image whitelist |