Files
php-apache/.gitea/workflows/build_push.yaml
T
renovate-bot Bot d2ef0ef977
renovate/stability-days Updates have met minimum release age requirement
Update docker/login-action action to v4
2026-10-23 12:31:52 +00:00

32 lines
667 B
YAML

name: Build and Publish Docker Image
on:
push:
branches:
- main
schedule:
- cron: '@daily'
workflow_dispatch:
jobs:
docker:
runs-on: ubuntu-latest-intranet
steps:
- name: Checkout
uses: actions/checkout@v7
- name: Login to Docker Registry
uses: docker/login-action@v4
with:
registry: gitea.psi.ch
username: ${{ github.repository_owner }}
password: ${{ secrets.REGISTRY_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v7
with:
context: .
push: true
tags: gitea.psi.ch/${{ github.repository }}:latest