initial attempt
All checks were successful
Build and Publish Docker Image / docker (push) Successful in 1m38s

This commit is contained in:
froejdh_e
2025-04-16 08:29:31 +02:00
commit 48db541f3f
4 changed files with 80 additions and 0 deletions

View File

@ -0,0 +1,28 @@
name: Build and Publish Docker Image
on:
push:
branches:
- main
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: detectors-gitea
password: ${{ secrets.SERVICE }}
- name: Build and push
uses: docker/build-push-action@v6
with:
context: .
push: true
tags: gitea.psi.ch/${{ github.repository }}:latest