jank
033623e4ab
All checks were successful
ZMK builder / Build and push image (push) Successful in 1m38s
Rust node / Build and push image (push) Successful in 1m23s
PHP deployer / Build and push image (push) Successful in 33s
PHP 8.2 / Build and push image (push) Successful in 33s
Node ssh / Build and push image (push) Successful in 1m29s
Node npm / Build and push image (push) Successful in 30s
Reviewed-on: #13 Co-authored-by: jank <jan@kjan.de> Co-committed-by: jank <jan@kjan.de>
27 lines
700 B
YAML
27 lines
700 B
YAML
name: PHP deployer
|
|
on:
|
|
schedule:
|
|
- cron: "@weekly"
|
|
push:
|
|
branches: [main]
|
|
paths:
|
|
- .gitea/workflows/php-deployer.yaml
|
|
- images/actions/php-deployer/**
|
|
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-deployer
|
|
REGISTRY_USERNAME: ${{ secrets.REGISTRY_USERNAME }}
|
|
REGISTRY_TOKEN: ${{ secrets.REGISTRY_TOKEN }}
|
|
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
|
|
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
|