All checks were successful
Check scripts syntax / check-scripts-syntax (push) Successful in 7s
Test automated-nfs-backup / test-automated-nfs-backup (push) Successful in 8s
Haven Notify Build and Deploy / Build Haven Notify Image (push) Successful in 30s
Haven Notify Build and Deploy / Deploy Haven Notify (internal) (push) Successful in 3s
42 lines
1.0 KiB
YAML
42 lines
1.0 KiB
YAML
name: Haven Notify Build and Deploy
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
paths:
|
|
- "haven-notify/**"
|
|
- ".gitea/workflows/**"
|
|
workflow_dispatch: {}
|
|
|
|
env:
|
|
IMAGE: git.ivanch.me/ivanch/haven-notify
|
|
|
|
jobs:
|
|
build:
|
|
name: Build Haven Notify Image
|
|
runs-on: runner-slim
|
|
steps:
|
|
- name: Check out repository
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Build and Push Multi-Arch Image
|
|
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 }}
|
|
build_context: haven-notify
|
|
|
|
deploy:
|
|
name: Deploy Haven Notify (internal)
|
|
runs-on: runner-slim
|
|
needs: build
|
|
steps:
|
|
- name: Rollout Restart Haven Notify
|
|
uses: https://git.ivanch.me/ivanch/pipeline-actions/deploy-restart@main
|
|
with:
|
|
kube_config: ${{ secrets.KUBE_CONFIG }}
|
|
deployment_name: haven-notify
|
|
namespace: default
|