Circle-CI Private Orb Job - use another public

334 Views Asked by At

Am I able to use public orb commands inside of jobs of a private orb? I can't figure out how to do it.

Thanks

1

There are 1 best solutions below

2
On BEST ANSWER

I haven't tested it but my assumption is: "yes, you can" :D

As for any orb leveraging another orb's commands/jobs/executors, you'll need to add a reference to the public orb you want to use in the src/@orb.yml file with the orbs stanza, as you would in a .circleci/config.yml.

See this template.