Skip to content

Commit

Permalink
[automation_test] modify registry beijing to hongkong
Browse files Browse the repository at this point in the history
  • Loading branch information
LYootsz committed Sep 27, 2023
1 parent 6d75b95 commit d66728a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/automation-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,14 +42,14 @@ jobs:
- name: Check Server And Agent Image
run: |
server_tag="${{ github.event.inputs.DEEPFLOW_SERVER_IMAGE_TAG }}"
server=$(skopeo inspect docker://registry.cn-beijing.aliyuncs.com/deepflow-ce/deepflow-agent:${server_tag} 2>&1 | grep "Error parsing image name" || :)
server=$(skopeo inspect docker://registry.cn-hongkong.aliyuncs.com/deepflow-ce/deepflow-server:${server_tag} 2>&1 | grep "Error parsing image name" || :)
if [ -n "$server" ]; then
echo "Get Server Image Failed: "
echo "$server"
exit 1
fi
agent_tag="${{ github.event.inputs.DEEPFLOW_AGENT_IMAGE_TAG }}"
agent=$(skopeo inspect docker://registry.cn-beijing.aliyuncs.com/deepflow-ce/deepflow-agent:${agent_tag} 2>&1 | grep "Error parsing image name" || :)
agent=$(skopeo inspect docker://registry.cn-hongkong.aliyuncs.com/deepflow-ce/deepflow-agent:${agent_tag} 2>&1 | grep "Error parsing image name" || :)
if [ -n "$agent" ]; then
echo "Get Agent Image Failed: "
echo "$agent"
Expand Down

0 comments on commit d66728a

Please sign in to comment.