GitHub Foundations — Question 28
As a developer, which workflow steps should you perform to publish an image to the GitHub Container Registry? (Each correct answer represents part of the solution. Choose three).
Answer options
- A. Push the image to the GitHub Container Registry.
- B. Authenticate to the GitHub Container Registry.
- C. Use the actions/setup-docker action.
- D. Pull the image from the GitHub Container Registry.
- E. Build the container image.
Correct answer: A, B, E
Explanation
The correct steps to publish an image include authenticating to the GitHub Container Registry, building the container image, and then pushing the image. The other options, such as pulling the image, are not part of the publishing process.