Add CLI flag for specifying the Docker image to use. #83

Merged
lunny merged 3 commits from :telackey/imageflag into main 2023-03-29 01:42:53 +00:00
Contributor

Since the exec command does not use labels from .runner, there is no existing way to specify which Docker image to use for task execution.

This adds an --image flag for specifying it manually. The default remains node:16-bullseye.

Since the `exec` command does not use labels from `.runner`, there is no existing way to specify which Docker image to use for task execution. This adds an `--image` flag for specifying it manually. The default remains `node:16-bullseye`.
telackey added 1 commit 2023-03-27 18:04:10 +00:00
Owner

Oh, maybe we should still have labels containers mapping?

Oh, maybe we should still have labels containers mapping?
Owner

Oh, maybe we should still have labels containers mapping?

I don't think so, unlike daemon, a flag is enough for exec. The user may want to test the same job on different images, so it will be convenient to use a single flag.

> Oh, maybe we should still have labels containers mapping? I don't think so, unlike `daemon`, a flag is enough for `exec`. The user may want to test the same job on different images, so it will be convenient to use a single flag.
wolfogre approved these changes 2023-03-28 03:47:12 +00:00
lunny approved these changes 2023-03-28 15:29:02 +00:00
lunny added 1 commit 2023-03-28 15:29:19 +00:00
Merge branch 'main' into telackey/imageflag
All checks were successful
check and test
424653a5e3
telackey added 1 commit 2023-03-28 20:54:42 +00:00
Merge branch 'main' into telackey/imageflag
All checks were successful
check and test
b1a494f6cf
Author
Contributor

I do not have the approval to merge, but if someone else would like to do it, sounds good to me.

I do not have the approval to merge, but if someone else would like to do it, sounds good to me.
lunny merged commit 8eea12dd78 into main 2023-03-29 01:42:53 +00:00
a1012112796 added the
related
exec
label 2023-05-16 09:15:25 +00:00
Sign in to join this conversation.
No description provided.