Do not exit in case of unsuccessful kill
This commit is contained in:
parent
0a1a5890ed
commit
4e16dec7c1
3
.github/workflows/images-debian.yml
vendored
3
.github/workflows/images-debian.yml
vendored
@ -23,6 +23,7 @@ jobs:
|
||||
- name: create droplet
|
||||
run: doctl compute droplet create --ssh-keys='b4:4c:66:7d:be:19:25:43:1c:e0:02:61:9f:49:12:94' --tag-name=github-actions ga-out-of-tree-images-debian-$GITHUB_SHA --size s-1vcpu-1gb --image ubuntu-22-04-x64 --wait
|
||||
|
||||
# TODO Move to common script
|
||||
- name: generate images
|
||||
shell: bash
|
||||
run: |
|
||||
@ -34,7 +35,7 @@ jobs:
|
||||
done
|
||||
|
||||
sleep 1m
|
||||
ssh root@$IP pkill apt-get
|
||||
ssh root@$IP pkill apt-get || true
|
||||
|
||||
ssh root@$IP apt-get update
|
||||
ssh root@$IP apt-get install -y git podman s3cmd
|
||||
|
Loading…
Reference in New Issue
Block a user