Files
php-apache/.gitea/workflows/build_push.yaml
T
ebner b6dec7e0f7
Build and Publish Docker Image / docker (push) Successful in 5s
Update .gitea/workflows/build_push.yaml
2026-10-22 08:31:56 +02: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@v4
- name: Login to Docker Registry
uses: docker/login-action@v3
with:
registry: gitea.psi.ch
username: ${{ github.repository_owner }}
password: ${{ secrets.REGISTRY_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v6
with:
context: .
push: true
tags: gitea.psi.ch/${{ github.repository }}:latest