Skip to content

Build and Push to GHCR #62

Build and Push to GHCR

Build and Push to GHCR #62

Workflow file for this run

name: Build and Push to GHCR
on:
schedule:
- cron: '0 2 * * *' # Täglich um 2:00 Uhr
workflow_dispatch: # Manuelles Triggern
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Log in to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Install Python Dependencies
run: |
python3 -m pip install requests
- name: Run Update Script
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
python3 update_script.py