fixed migration
Some checks failed
Build and Deploy to k3s / build-and-deploy (push) Failing after 3m7s
Some checks failed
Build and Deploy to k3s / build-and-deploy (push) Failing after 3m7s
This commit is contained in:
parent
7addc9c0ae
commit
64d0aec872
@ -13,6 +13,11 @@ jobs:
|
|||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- name: Env Config
|
||||||
|
run: |
|
||||||
|
echo "${{ secrets.LARAVEL_ENV }}" | base64 -d > .env
|
||||||
|
cat .env
|
||||||
|
|
||||||
- name: Build Docker image
|
- name: Build Docker image
|
||||||
run: |
|
run: |
|
||||||
docker build -t ${{ secrets.REGISTRY_URL }}/${{ secrets.REGISTRY_USER }}/hosting-backend-prod:${{ github.sha }} .
|
docker build -t ${{ secrets.REGISTRY_URL }}/${{ secrets.REGISTRY_USER }}/hosting-backend-prod:${{ github.sha }} .
|
||||||
@ -37,11 +42,8 @@ jobs:
|
|||||||
echo "${{ secrets.KUBE_CONFIG }}" | base64 -d > ~/.kube/config
|
echo "${{ secrets.KUBE_CONFIG }}" | base64 -d > ~/.kube/config
|
||||||
chmod 600 ~/.kube/config
|
chmod 600 ~/.kube/config
|
||||||
|
|
||||||
- name: Env Config
|
|
||||||
run: |
|
|
||||||
echo "${{ secrets.LARAVEL_ENV }}" | base64 -d > .env
|
|
||||||
cat .env
|
|
||||||
|
|
||||||
- name: Validate kubeconfig
|
- name: Validate kubeconfig
|
||||||
run: |
|
run: |
|
||||||
if ! kubectl version --client && kubectl cluster-info --kubeconfig ~/.kube/config; then
|
if ! kubectl version --client && kubectl cluster-info --kubeconfig ~/.kube/config; then
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user