Set default sample registry in ci (#95)

This commit is contained in:
Young Bu Park 2019-11-01 14:02:02 -07:00 committed by GitHub
parent 689869c0a4
commit bcd905f1ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 1 deletions

View File

@ -24,6 +24,11 @@ jobs:
run: python ./.github/scripts/get_release_version.py
- name: Build docker image
run: |
if [ -z "${{ env.SAMPLE_REGISTRY }}" ]; then
export SAMPLE_REGISTRY=docker.io/dapriosamples
echo "##[set-env name=SAMPLE_REGISTRY;]$SAMPLE_REGISTRY"
fi
SAMPLE_LIST=(2.hello-kubernetes 3.distributed-calculator 4.pub-sub 5.bindings)
for sample in "${SAMPLE_LIST[@]}"; do