Docker and CI/CD · Middle · Question 44 of 75
How does one job pass a value, such as an image tag, to another?
- 1By writing the value into the repository
- ✓Correct answer: Through job
outputs, read vianeeds.<job>.outputs - 3Through environment variables, which jobs share
Explanation
A step writes to $GITHUB_OUTPUT, the job maps it to an output, and downstream jobs read it. For files, use artifacts.