Compare commits

...

2 Commits

Author SHA1 Message Date
8ac215f948 Merge branch 'master' of ssh://git.unkrig.dev:2222/tim/homelab
Some checks failed
Helmfile Update Workflow / update-helm-deployment (push) Failing after 1s
2024-10-22 17:36:14 +02:00
0e23674dc9 Changed image in helmfile worlflow 2024-10-22 17:35:45 +02:00

View File

@@ -11,29 +11,23 @@ jobs:
update-helm-deployment:
runs-on: ubuntu-latest
# Use Docker image with Helm, Helmfile, and kubectl pre-installed
container:
image: jmccann/helmfile:latest
steps:
# Step 1: Checkout the repository
- name: Checkout code
uses: actions/checkout@v3
# Step 2: Set up Helm and Helmfile
- name: Install Helm
run: |
curl https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | bash
- name: Install Helmfile
run: |
curl -L https://github.com/roboll/helmfile/releases/download/v0.144.0/helmfile_linux_amd64 -o /usr/local/bin/helmfile
chmod +x /usr/local/bin/helmfile
# Step 3: Set up Kubernetes configuration (optional - depends on where your cluster is)
# Step 2: Set up Kubernetes configuration (optional - depends on where your cluster is)
- name: Set up kubeconfig
env:
KUBE_CONFIG_DATA: ${{ secrets.KUBE_CONFIG_DATA }} # Store your kubeconfig in Gitea Secrets
run: |
echo "$KUBE_CONFIG_DATA" | base64 -d > ~/.kube/config
# Step 4: Run Helmfile Sync
# Step 3: Run Helmfile Sync
- name: Deploy with Helmfile
run: |
helmfile sync