Files
ServiceUpdater/.gitea/workflows/ci.yml
Leon Hoppe a341b9cfda
All checks were successful
Updater CI/CD / publish (push) Successful in 2m18s
Implemented update functionallity
2026-02-24 18:49:23 +01:00

27 lines
620 B
YAML

name: Updater CI/CD
on:
push:
tags: [ "*" ]
jobs:
publish:
runs-on: ubuntu-latest
if: startsWith(github.ref, 'refs/tags/')
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Login to registry
run: |
echo "${{ secrets.REGISTRY_PASSWORD }}" | docker login git.leon-hoppe.de \
-u leon.hoppe --password-stdin
- name: Build Docker image
run: |
docker build -t git.leon-hoppe.de/leon.hoppe/updater:latest .
- name: Push Docker image
run: |
docker push git.leon-hoppe.de/leon.hoppe/updater:latest