feat: exec mode improvements

Use Bollard library to exec in pure Rust.

`--use-cli` cli arg, will then only try to exec into containers using
Docker.

Only try to exec into a container if the state == Running.
This commit is contained in:
Jack Wills
2023-11-17 02:49:30 +00:00
parent 28b0315dd7
commit 0e5ee143b0
15 changed files with 477 additions and 142 deletions
@@ -87,6 +87,7 @@ jobs:
artifacts: |
**/oxker_*.zip
**/oxker_*.tar.gz
#########################
## Publish to crates.io #
#########################
@@ -106,6 +107,7 @@ jobs:
#########################################
## Build images for Dockerhub & ghcr.io #
#########################################
image_build:
needs: [cargo_publish]
runs-on: ubuntu-latest