Skip to content

Commit 57f371f

Browse files
committed
feat(workflows): set SOURCE_REGISTRY for azd environment in e2e tests
1 parent 3dc64b9 commit 57f371f

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/test-e2e-main.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ jobs:
6666
azd env set DEPLOY_AZURE_COSMOSDB true
6767
azd env set AZURE_COSMOSDB_ACCOUNT_KIND MongoDB
6868
azd env set DEPLOY_OBSERVABILITY_TOOLS true
69+
azd env set SOURCE_REGISTRY "ghcr.io/${{ github.repository_owner }}"
6970
azd up --no-prompt
7071
env:
7172
AZURE_ENV_NAME: ${{ vars.AZURE_ENV_NAME }}

.github/workflows/test-e2e.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@ jobs:
5050

5151
- name: Provision and deploy
5252
run: |
53+
azd env new ${{ vars.AZURE_ENV_NAME }}
54+
azd env set SOURCE_REGISTRY "ghcr.io/${{ github.repository_owner }}"
5355
azd up --no-prompt
5456
env:
5557
AZURE_ENV_NAME: ${{ vars.AZURE_ENV_NAME }}

0 commit comments

Comments
 (0)