Wait to make sure IP is ready

This commit is contained in:
2023-05-12 12:35:55 +00:00
bovenliggende b310b29670
commit fa579e5170
2 gewijzigde bestanden met toevoegingen van 4 en 0 verwijderingen

Bestand weergeven

@ -27,6 +27,8 @@ jobs:
- name: generate images
shell: bash
run: |
sleep 1m
IP=$(doctl compute droplet list --tag-name=github-actions --format "Name,Public IPv4" | grep -v ID | grep ga-out-of-tree-images-debian-$GITHUB_SHA | awk '{print $2}')
while ! ssh -o StrictHostKeyChecking=accept-new root@$IP echo

Bestand weergeven

@ -27,6 +27,8 @@ jobs:
- name: generate images
shell: bash
run: |
sleep 1m
IP=$(doctl compute droplet list --tag-name=github-actions --format "Name,Public IPv4" | grep -v ID | grep ga-out-of-tree-images-oraclelinux-$GITHUB_SHA | awk '{print $2}')
while ! ssh -o StrictHostKeyChecking=accept-new root@$IP echo