Skip to content

Automated Wine update #379

Automated Wine update

Automated Wine update #379

Workflow file for this run

name: Automated Wine update
on:
schedule:
- cron: '0 12 * * Sat'
workflow_dispatch:
jobs:
updateWine:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
ref: master
token: ${{ secrets.PAT }}
- name: follow for-next
run: |
git fetch origin for-next
git merge --ff-only origin/for-next
- name: Get Latest Wine Version
id: wine
run: |
echo LATEST_TAG=$(curl -sL https://hub.docker.com/v2/namespaces/panard/repositories/wine/tags | jq -r '.results[].name' | grep '\-wow64$' | head -n1) >> $GITHUB_ENV
echo CURRENT_TAG=$(grep FROM Dockerfile|cut -d: -f2) >> $GITHUB_ENV
- name: Update Wine
if: env.CURRENT_TAG != env.LATEST_TAG
run: |
sed -i "s,FROM .*$,FROM panard/wine:$LATEST_TAG," Dockerfile
- name: Create Pull Request
uses: peter-evans/[email protected]
with:
token: ${{ secrets.PAT }}
commit-message: Update wine to ${{ env.LATEST_TAG }}
title: Update wine to ${{ env.LATEST_TAG }}
body: |
Updates wine to ${{ env.LATEST_TAG }} using Docker image from https://github.com/pauleve/docker-wine-wow64
```
./run-mtgo --update --test panard/mtgo:pr<#ID>
```
assignees: pauleve
labels: autodocker
branch: auto/wine-updates