Files
recommender/.gitea/workflows/main.yaml
2026-07-12 12:01:45 -03:00

34 lines
814 B
YAML

name: Recommender Build and Deploy (internal)
on:
push:
branches:
- main
workflow_dispatch: {}
env:
IMAGE: git.ivanch.me/ivanch/recommender
jobs:
build:
name: Build Image
runs-on: ubuntu-amd64
steps:
- uses: actions/checkout@v4
- uses: https://git.ivanch.me/ivanch/pipeline-actions/build-and-push@main
with:
image: ${{ env.IMAGE }}
registry_password: ${{ secrets.REGISTRY_PASSWORD }}
ssh_key: ${{ secrets.SSH_KEY_DOCKERBUILD }}
deploy:
name: Deploy (internal)
runs-on: ubuntu-amd64
needs: build
steps:
- uses: https://git.ivanch.me/ivanch/pipeline-actions/deploy-restart@main
with:
kube_config: ${{ secrets.KUBE_CONFIG }}
deployment_name: recommender
namespace: media