Skip to content

Add touchfix command #585

Add touchfix command

Add touchfix command #585

Workflow file for this run

name: 'Push to main'
on:
push:
branches: main
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python 3.11
uses: actions/setup-python@v5
with:
python-version: 3.11
- name: Install testing dependencies
run: |
python -m pip install --upgrade pip
python -m pip install flake8
- name: Check with flake8
run: |
flake8 .
- name: Login to GHCR
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build Docker image
uses: docker/build-push-action@v5
with:
context: .
file: ./Dockerfile
platforms: linux/amd64
push: true
tags: ghcr.io/ds-homebrew/twlhelper:latest
- name: Reboot TWLHelper
run: |
curl -X POST ${{ secrets.JENKINS_BUILD }}