Skip to content

Update Docker image versions #59

Update Docker image versions

Update Docker image versions #59

---
name: Update Docker image versions
on: # yamllint disable-line rule:truthy
schedule:
- cron: "0 3 * * 1" # run at 3:00 every Monday
workflow_dispatch: # allow this workflow to be manually triggered
# checkout needs 'contents:read'
# pull request needs 'pull-requests:write' and 'contents:write'
permissions:
contents: write
pull-requests: write
jobs:
update_docker_versions:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Install Python packages
run: |
pip install --upgrade pip
pip install -r .github/scripts/requirements.txt
- name: Update Docker image versions
run: |
python .github/scripts/update_docker_versions.py
- name: Get current date
id: date
run: echo "date=$(date +'%Y-%m-%d')" >> $GITHUB_OUTPUT
- name: Create pull request
if: ${{ ! env.ACT }}
id: pull-request
uses: peter-evans/create-pull-request@9153d834b60caba6d51c9b9510b087acf9f33f83 # This commit corresponds to tag 6.0.4
with:
commit-message: Update Pulumi Docker images
committer: GitHub Actions <[email protected]>
author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>
base: develop
branch: update-docker-images
delete-branch: true
title: Update Pulumi Docker images
body: |
### :arrow_heading_up: Summary
- Apply Pulumi image version diff from ${{ github.sha }} on ${{ steps.date.outputs.date }}
### :closed_umbrella: Related issues
None
### :microscope: Tests
Package versions only
labels: |
affected: developers
severity: minor
type: enhancement
draft: false