Search code examples
circlecicircleci-orb

Circle-CI Private Orb Job - use another public


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


Solution

  • 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.