GH-200 · Question #28
Which files are required for a Docker container action in addition to the source code? (Each correct answer presents a partial solution. Choose two.)
The correct answer is A. action.yml D. Dockerfile. Creating a Docker container action Create a dockerfile Dockerfile support for GitHub Actions When creating a Dockerfile for a Docker container action, you should be aware of how some Docker instructions interact with GitHub Actions and an action's metadata file. Creating an…
Question
Which files are required for a Docker container action in addition to the source code? (Each correct answer presents a partial solution. Choose two.)
Options
- Aaction.yml
- BActionfile
- Cmetadata.yml
- DDockerfile
How the community answered
(19 responses)- A89% (17)
- B5% (1)
- C5% (1)
Explanation
Creating a Docker container action Create a dockerfile Dockerfile support for GitHub Actions When creating a Dockerfile for a Docker container action, you should be aware of how some Docker instructions interact with GitHub Actions and an action's metadata file. Creating an action metadata file Create a new action.yml file. https://docs.github.com/en/actions/tutorials/use-containerized-services/create-a-docker-container- https://docs.github.com/en/actions/reference/workflows-and-actions/dockerfile-support
Topics
Community Discussion
No community discussion yet for this question.