Initial commit

This commit is contained in:
2026-01-31 11:19:41 +00:00
commit 8887106656
9 changed files with 1602 additions and 0 deletions
+33
View File
@@ -0,0 +1,33 @@
name: CI
on:
# push:
# branches: [ main ]
workflow_dispatch:
jobs:
build-and-push:
name: Build and Push
runs-on: build-htz-01
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Build and push Docker image
run: |
docker build -t cr.jdbnet.co.uk/jdbnet/project:latest .
docker push cr.jdbnet.co.uk/jdbnet/project:latest
deploy:
name: Deploy to Kubernetes
needs: build-and-push
runs-on: k3s-internal-htz-01
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Apply manifests
run: |
sudo kubectl replace -f deployment.yml --grace-period=60 --force