Implemented update functionallity
All checks were successful
Updater CI/CD / publish (push) Successful in 2m18s
All checks were successful
Updater CI/CD / publish (push) Successful in 2m18s
This commit is contained in:
26
.gitea/workflows/ci.yml
Normal file
26
.gitea/workflows/ci.yml
Normal file
@@ -0,0 +1,26 @@
|
||||
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
|
||||
Reference in New Issue
Block a user