Files
AI/.gitea/workflows/main.yml
Zombori Péter 2220d6f7ca
All checks were successful
Build and Push AI Image / build-and-push (push) Successful in 43s
Init Python test
2025-12-03 13:13:42 +01:00

33 lines
677 B
YAML

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