Change: kubectl and service image
All checks were successful
Build image and deploy / release-image (push) Successful in 2m5s
Build image and deploy / deploy (push) Successful in 48s

This commit is contained in:
2024-10-18 16:35:43 +00:00
parent 627fd70216
commit 8680df36e2
5 changed files with 8 additions and 54 deletions

View File

@@ -1,4 +1,4 @@
name: Release
name: Build image and deploy
on: [push]
jobs:
@@ -14,6 +14,10 @@ jobs:
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Root CA
run: |
echo "${{ vars.ROOTCA }}" | tee rootca.pem
- name: Set up Docker BuildX
uses: docker/setup-buildx-action@v3
with:
@@ -49,7 +53,7 @@ jobs:
needs: release-image
runs-on: imgbuilder
container:
image: gitea.konchin.com/system/kubectl-image
image: gitea.konchin.com/image/kubectl
credentials:
username: ${{ secrets.REGISTRY_USERNAME }}
password: ${{ secrets.REGISTRY_PASSWORD }}
@@ -64,7 +68,7 @@ jobs:
- name: Deploy
run: |
kubectl --kubeconfig .kubeconfig apply -f k8s/deploy.*
kubectl --kubeconfig .kubeconfig apply -Rf k8s/
- name: Rollout restart
run: |