Init Python test
All checks were successful
Build and Push AI Image / build-and-push (push) Successful in 43s

This commit is contained in:
Zombori Péter
2025-12-03 13:13:42 +01:00
parent e7dc38b91e
commit 2220d6f7ca
8 changed files with 100 additions and 1 deletions

32
.gitea/workflows/main.yml Normal file
View File

@@ -0,0 +1,32 @@
name: Build and Push AI Image
on:
push:
branches:
- master
jobs:
build-and-push:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Docker smoke test
run: docker ps -a
- name: Docker login
run: |
echo "${{ secrets.REGISTRY_PASSWORD }}" \
| docker login git.petyi.eu \
-u "${{ secrets.REGISTRY_USER }}" \
--password-stdin
- name: Docker build
run: |
docker build -t git.petyi.eu/szakdolgozat/ai:latest .
- name: Docker push
run: |
docker push git.petyi.eu/szakdolgozat/ai:latest