GitHub Actions Certification — Question 6

As a developer, which workflow steps should you perform to publish an image to the GitHub Container Registry? (Choose three.)

Answer options

Correct answer: A, B, D

Explanation

The correct steps to publish an image to the GitHub Container Registry include using the actions/setup-docker action to set up Docker, authenticating to the registry, and then pushing the image. Building the container image is important, but not explicitly listed as a step in the options, while pulling the image is not necessary for publishing.