name: PHP 8.2 on: schedule: - cron: "@weekly" push: branches: [main] paths: - .gitea/workflows/php-8.2.yaml - images/actions/php-8.2/** pull_request: jobs: build: name: Build and push image runs-on: ubuntu-latest container: catthehacker/ubuntu:act-latest steps: - name: Build Docker image uses: https://git.kjan.de/actions/docker-build@v1 with: name: php-8.2 REGISTRY_USERNAME: ${{ secrets.REGISTRY_USERNAME }} REGISTRY_TOKEN: ${{ secrets.REGISTRY_TOKEN }} DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }} DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}