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: ubuntu-amd64 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: ubuntu-amd64 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