GitHub Foundations — Question 16

Which files are required for a Docker container action in addition to the source code? (Each correct answer presents a partial solution. Choose two.)

Answer options

Correct answer: A, D

Explanation

The correct answers are A and D. The 'action.yml' file defines the action's inputs and outputs, while the 'Dockerfile' specifies how to build the Docker image. The other options, 'Actionfile' and 'metadata.yml', are not standard requirements for Docker container actions.