runner-images/.gitea/workflows/php-deployer.yaml
Renovate 1040a99a3d
All checks were successful
Node npm / Build and push image (push) Successful in 52s
Node ssh / Build and push image (push) Successful in 1m6s
PHP 8.2 / Build and push image (push) Successful in 45s
PHP deployer / Build and push image (push) Successful in 33s
Rust node / Build and push image (push) Successful in 5m20s
[RENOVATE] Update actions/build-push-action action to v6 (#7)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [actions/build-push-action](https://git.kjan.de/actions/build-push-action) | action | major | `v5` -> `v6` |

---

### Release Notes

<details>
<summary>actions/build-push-action (actions/build-push-action)</summary>

### [`v6`](https://git.kjan.de/actions/build-push-action/compare/v5...v6)

[Compare Source](https://git.kjan.de/actions/build-push-action/compare/v5...v6)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC4zNS4wIiwidXBkYXRlZEluVmVyIjoiMzguMzUuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->

Reviewed-on: #7
Co-authored-by: Renovate <renovate@kjan.de>
Co-committed-by: Renovate <renovate@kjan.de>
2024-08-15 14:21:52 +00:00

46 lines
1.3 KiB
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: Checkout
uses: https://git.kjan.de/actions/checkout@v4
- name: Set up Docker Buildx
uses: https://git.kjan.de/actions/setup-buildx-action@v3
- name: Login to local Docker Registry
uses: https://git.kjan.de/actions/login-action@v3
with:
registry: git.kjan.de
username: ${{ secrets.REGISTRY_USERNAME }}
password: ${{ secrets.REGISTRY_TOKEN }}
- name: Login to Docker.io Registry
uses: https://git.kjan.de/actions/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Build and push
uses: https://git.kjan.de/actions/build-push-action@v6
with:
context: ./images/actions/php-deployer
push: ${{ github.ref == 'refs/heads/main' }}
tags: |
git.kjan.de/actions/php-deployer:latest
git.kjan.de/actions/php-deployer:${{ gitea.run_number }}