froejdh_e 01db1dd2d5
Some checks failed
Build and Publish Docker Image / docker (push) Failing after 25s
using service user
2025-04-16 08:10:11 +02:00

28 lines
610 B
YAML

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