Skip to content

Commit

Permalink
Test github issue
Browse files Browse the repository at this point in the history
  • Loading branch information
snehapar9 committed Jan 10, 2024
1 parent 6537c41 commit 5824d6a
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/run-validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -589,6 +589,36 @@ jobs:
resourceGroup: ${{ vars.TEST_RESOURCE_GROUP_NAME }}
disableTelemetry: ${{ vars.TEST_DISABLE_TELEMETRY }}

update-using-image-and-env-variables:

name: 'Update app using image'
runs-on: ubuntu-latest
timeout-minutes: 10

env:
TEST_CONTAINER_APP_NAME: 'update-using-image-app'

steps:
- name: Checkout action repository
uses: actions/checkout@v3

- name: Log in to Azure
uses: azure/login@v1
with:
creds: ${{ secrets.TEST_AZURE_CREDENTIALS }}

- name: Execute Azure Container Apps Build and Deploy Action
uses: ./
with:
appSourcePath: ${github.workspace}
acrName: ${{ vars.TEST_ACR_NAME }}
imageToBuild: ${{ env.TEST_FULL_ACR_NAME }}/${{ env.TEST_IMAGE_REPOSITORY }}:${{ env.TEST_IMAGE_TAG }}
targetPort: 80
containerAppName: ${{ vars.TEST_EXISTING_CONTAINER_APP }}
environmentVariables: 'TEST_ENV_VAR_1=TEST_ENV_VAR_1_VALUE,TEST_ENV_VAR_2=TEST_ENV_VAR_2_VALUE'
resourceGroup: ${{ vars.TEST_RESOURCE_GROUP_NAME }}
disableTelemetry: ${{ vars.TEST_DISABLE_TELEMETRY }}

update-using-image-yaml:

name: 'Update app using image with YAML configuration'
Expand Down

0 comments on commit 5824d6a

Please sign in to comment.