runner-images/.gitea/workflows/php-8.2.yaml

27 lines
676 B
YAML
Raw Normal View History

name: PHP 8.2
2024-07-11 18:56:31 +00:00
on:
2024-07-15 16:21:50 +00:00
schedule:
- cron: "@weekly"
2024-07-11 18:56:31 +00:00
push:
branches: [main]
2024-07-11 18:56:31 +00:00
paths:
- .gitea/workflows/php-8.2.yaml
- images/actions/php-8.2/**
pull_request:
2024-07-11 18:56:31 +00:00
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
2024-07-11 18:56:31 +00:00
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 }}