mirror of
https://github.com/cna-bootcamp/lifesub.git
synced 2026-06-13 04:59:10 +00:00
add github aciton
This commit is contained in:
@@ -207,8 +207,10 @@ jobs:
|
||||
run: |
|
||||
echo "IMAGE_TAG=${{ needs.build.outputs.image_tag }}" >> $GITHUB_ENV
|
||||
|
||||
# Azure CLI 설치 단계 수정
|
||||
- name: Install Azure CLI
|
||||
uses: azure/setup-azure-cli@v1
|
||||
run: |
|
||||
curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash
|
||||
|
||||
- name: Azure Login
|
||||
uses: azure/login@v1
|
||||
@@ -226,6 +228,11 @@ jobs:
|
||||
run: |
|
||||
kubectl create namespace ${{ env.namespace }} --dry-run=client -o yaml | kubectl apply -f -
|
||||
|
||||
- name: Install envsubst
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y gettext-base
|
||||
|
||||
- name: Generate Kubernetes manifest
|
||||
run: |
|
||||
# Set environment variables for the deployment template
|
||||
@@ -264,4 +271,4 @@ jobs:
|
||||
|
||||
- name: Get service information
|
||||
run: |
|
||||
echo "Ingress IP: $(kubectl -n ${{ env.namespace }} get ingress lifesub -o jsonpath='{.status.loadBalancer.ingress[0].ip}')"
|
||||
echo "Ingress IP: $(kubectl -n ${{ env.namespace }} get ingress lifesub -o jsonpath='{.status.loadBalancer.ingress[0].ip}')"
|
||||
|
||||
Reference in New Issue
Block a user