Hi, there a way to parameterize executor’s image name in the orb?
An executor can declare parameters that can be used internally. You can also do this on the job itself if it declares its own executor. For instance, using an inline orb (same would apply to a registered orb) you can do:
version: 2.1
orbs:
myorb:
executors:
default:
parameters:
image-name:
type: string
default: "circleci/node"
image-tag:
type: string
default: "latest"
docker:
- image: << parameters.image-name>>:<< parameters.image-tag >>
jobs:
build:
executor: myorb/default
steps:
- run: docker -v