Update action and librairies versions
This commit is contained in:
Родитель
19b096293c
Коммит
5eb1d1f767
|
@ -42,7 +42,7 @@ runs:
|
|||
echo "ARM_TENANT_ID=$(echo $AZURE_CREDENTIALS | jq -r .tenantId)" >> $GITHUB_ENV
|
||||
shell: bash
|
||||
- name: Log into Azure
|
||||
uses: azure/login@v1
|
||||
uses: azure/login@v2
|
||||
with:
|
||||
creds: ${{ inputs.azure_credentials }}
|
||||
- name: Deploy infrastructure
|
||||
|
|
|
@ -43,19 +43,19 @@ runs:
|
|||
echo "ARM_TENANT_ID=$(echo $AZURE_CREDENTIALS | jq -r .tenantId)" >> $GITHUB_ENV
|
||||
shell: bash
|
||||
- name: Setup Terraform
|
||||
uses: hashicorp/setup-terraform@v2
|
||||
uses: hashicorp/setup-terraform@v3
|
||||
with:
|
||||
terraform_wrapper: false
|
||||
- name: Azure Login
|
||||
uses: azure/login@v1
|
||||
uses: azure/login@v2
|
||||
with:
|
||||
creds: ${{ inputs.azure_credentials }}
|
||||
- name: Authorize local IP to access the Storage Account
|
||||
uses: azure/CLI@v1
|
||||
uses: azure/CLI@v2
|
||||
env:
|
||||
TF_STORAGE_ACCOUNT: ${{ inputs.tf_storage_account }}
|
||||
with:
|
||||
azcliversion: 2.46.0
|
||||
azcliversion: 2.58.0
|
||||
inlineScript: |
|
||||
az storage account update --name $TF_STORAGE_ACCOUNT --default-action Allow
|
||||
sleep 10
|
||||
|
@ -102,10 +102,10 @@ runs:
|
|||
working-directory: '${{ github.workspace }}/terraform'
|
||||
shell: bash
|
||||
- name: Disable local IP access to the Storage Account
|
||||
uses: azure/CLI@v1
|
||||
uses: azure/CLI@v2
|
||||
env:
|
||||
TF_STORAGE_ACCOUNT: ${{ inputs.tf_storage_account }}
|
||||
with:
|
||||
azcliversion: 2.46.0
|
||||
azcliversion: 2.58.0
|
||||
inlineScript: |
|
||||
az storage account update --name $TF_STORAGE_ACCOUNT --default-action Allow
|
||||
|
|
|
@ -27,7 +27,7 @@ runs:
|
|||
run: docker build -f src/main/docker/Dockerfile.native -t ${{ inputs.container_registry_name }}.azurecr.io/${{ inputs.application_name }}/${{ inputs.application_name }}:${{ github.sha }} .
|
||||
shell: bash
|
||||
- name: Login to Azure
|
||||
uses: azure/login@v1
|
||||
uses: azure/login@v2
|
||||
with:
|
||||
creds: ${{ inputs.azure_credentials }}
|
||||
- name: Push to Azure Container Registry
|
||||
|
|
|
@ -25,7 +25,7 @@ runs:
|
|||
run: mvn spring-boot:build-image -Pprod,azure -Dspring-boot.build-image.imageName=${{ inputs.container_registry_name }}.azurecr.io/${{ inputs.application_name }}/${{ inputs.application_name }}:${{ github.sha }}
|
||||
shell: bash
|
||||
- name: Login to Azure
|
||||
uses: azure/login@v1
|
||||
uses: azure/login@v2
|
||||
with:
|
||||
creds: ${{ inputs.azure_credentials }}
|
||||
- name: Push to Azure Container Registry
|
||||
|
|
|
@ -18,7 +18,7 @@ runs:
|
|||
run: docker build -t ${{ inputs.container_registry_name }}.azurecr.io/${{ inputs.application_name }}/${{ inputs.application_name }}:${{ github.sha }} .
|
||||
shell: bash
|
||||
- name: Login to Azure
|
||||
uses: azure/login@v1
|
||||
uses: azure/login@v2
|
||||
with:
|
||||
creds: ${{ inputs.azure_credentials }}
|
||||
- name: Push to Azure Container Registry
|
||||
|
|
|
@ -20,7 +20,7 @@ runs:
|
|||
name: ${{ inputs.artifact_name }}
|
||||
path: ./output
|
||||
- name: Login to Azure
|
||||
uses: azure/login@v1
|
||||
uses: azure/login@v2
|
||||
with:
|
||||
creds: ${{ inputs.azure_credentials }}
|
||||
- name: 'Deploy to Azure App Service'
|
||||
|
|
|
@ -19,7 +19,7 @@ runs:
|
|||
with:
|
||||
name: ${{ inputs.artifact_name }}
|
||||
- name: Login to Azure
|
||||
uses: azure/login@v1
|
||||
uses: azure/login@v2
|
||||
with:
|
||||
creds: ${{ inputs.azure_credentials }}
|
||||
- name: 'Deploy to Azure App Service'
|
||||
|
|
|
@ -20,7 +20,7 @@ runs:
|
|||
name: ${{ inputs.artifact_name }}
|
||||
path: .
|
||||
- name: Login to Azure
|
||||
uses: azure/login@v1
|
||||
uses: azure/login@v2
|
||||
with:
|
||||
creds: ${{ inputs.azure_credentials }}
|
||||
- name: 'Deploy to Azure App Service'
|
||||
|
|
|
@ -20,7 +20,7 @@ runs:
|
|||
name: ${{ inputs.artifact_name }}
|
||||
path: .
|
||||
- name: Login to Azure
|
||||
uses: azure/login@v1
|
||||
uses: azure/login@v2
|
||||
with:
|
||||
creds: ${{ inputs.azure_credentials }}
|
||||
- name: 'Deploy to Azure App Service'
|
||||
|
|
|
@ -39,7 +39,7 @@ runs:
|
|||
docker tag application/application:${{ github.sha }} ${{ inputs.image_name }}
|
||||
shell: bash
|
||||
- name: Login to Azure
|
||||
uses: azure/login@v1
|
||||
uses: azure/login@v2
|
||||
with:
|
||||
creds: ${{ inputs.azure_credentials }}
|
||||
- name: Push to Azure Container Registry
|
||||
|
@ -48,7 +48,7 @@ runs:
|
|||
docker push ${{ inputs.image_name }}
|
||||
shell: bash
|
||||
- name: Deploy to Container App
|
||||
uses: azure/CLI@v1
|
||||
uses: azure/CLI@v2
|
||||
with:
|
||||
inlineScript: |
|
||||
az config set extension.use_dynamic_install=yes_without_prompt
|
||||
|
|
|
@ -20,7 +20,7 @@ runs:
|
|||
name: ${{ inputs.artifact_name }}
|
||||
path: ./output
|
||||
- name: Login to Azure
|
||||
uses: azure/login@v1
|
||||
uses: azure/login@v2
|
||||
with:
|
||||
creds: ${{ inputs.azure_credentials }}
|
||||
- name: 'Deploy to Azure Functions'
|
||||
|
|
|
@ -20,7 +20,7 @@ runs:
|
|||
name: ${{ inputs.artifact_name }}
|
||||
path: ${{ inputs.application_name }}
|
||||
- name: Login to Azure
|
||||
uses: azure/login@v1
|
||||
uses: azure/login@v2
|
||||
with:
|
||||
creds: ${{ inputs.azure_credentials }}
|
||||
- name: 'Deploy to Azure Functions'
|
||||
|
|
|
@ -20,7 +20,7 @@ runs:
|
|||
name: ${{ inputs.artifact_name }}
|
||||
path: .
|
||||
- name: Login to Azure
|
||||
uses: azure/login@v1
|
||||
uses: azure/login@v2
|
||||
with:
|
||||
creds: ${{ inputs.azure_credentials }}
|
||||
- name: 'Deploy to Azure Functions'
|
||||
|
|
|
@ -20,7 +20,7 @@ runs:
|
|||
name: ${{ inputs.artifact_name }}
|
||||
path: .
|
||||
- name: Login to Azure
|
||||
uses: azure/login@v1
|
||||
uses: azure/login@v2
|
||||
with:
|
||||
creds: ${{ inputs.azure_credentials }}
|
||||
- name: 'Deploy to Azure Functions'
|
||||
|
|
|
@ -26,7 +26,7 @@ runs:
|
|||
with:
|
||||
name: package
|
||||
- name: Login to Azure
|
||||
uses: azure/login@v1
|
||||
uses: azure/login@v2
|
||||
with:
|
||||
creds: ${{ inputs.azure_credentials }}
|
||||
- name: Get Subscription ID
|
||||
|
|
|
@ -26,7 +26,7 @@ runs:
|
|||
with:
|
||||
name: package
|
||||
- name: Login to Azure
|
||||
uses: azure/login@v1
|
||||
uses: azure/login@v2
|
||||
with:
|
||||
creds: ${{ inputs.azure_credentials }}
|
||||
- name: Get Subscription ID
|
||||
|
|
Загрузка…
Ссылка в новой задаче