Change: kubectl and service image
This commit is contained in:
@@ -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: |
|
||||
|
||||
Reference in New Issue
Block a user