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