All checks were successful
Build and Push AI Image / build-and-push (push) Successful in 43s
33 lines
677 B
YAML
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
|