nerdexam
Microsoft

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…

Create and manage custom actions

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)
  • A
    89% (17)
  • B
    5% (1)
  • C
    5% (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

#Custom Actions#Docker Actions#action.yml#Dockerfile

Community Discussion

No community discussion yet for this question.

Full GH-200 Practice