chore(deps): update image to jellyfin/jellyfin:10.10.2 #263
Workflow file for this run
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 Image | |
on: | |
push: | |
branches: | |
- '**' | |
workflow_dispatch: | |
jobs: | |
update-image: | |
name: Update image | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
pull-requests: write | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Read image | |
id: image | |
run: |- | |
FROM=$(grep FROM ./Dockerfile | cut -d' ' -f2) | |
echo "from=$FROM" >> $GITHUB_OUTPUT | |
echo "::notice title=Image::$FROM" | |
- name: Update image | |
run: |- | |
yq -i '.build_from[] = strenv(FROM)' jellyfin-server/build.yaml | |
env: | |
FROM: ${{ steps.image.outputs.from }} | |
- name: Create Pull Request | |
uses: peter-evans/create-pull-request@v7 | |
with: | |
title: "chore(deps): update image to ${{ steps.image.outputs.from }} on ${{ github.ref_name }}" | |
commit-message: "chore(deps): update image to ${{ steps.image.outputs.from }}" | |
body: "Updated jellyfin-server/build.yaml from the Dockerfile" | |
branch: jellyfin--${{ github.ref_name }} | |
delete-branch: true | |
labels: dependencies,docker |