nerdexam
GitHub

GITHUB-ACTIONS · Question #38

As a developer, how can you identify a Docker container action on GitHub?

The correct answer is D. The action.yml metadata file has the runs.using value set to Docker.. In a Docker container action, the action.yml file includes the runs.using field, which is set to docker to specify that the action runs inside a Docker container. This is the key indicator that the action is a Docker container action.

Create and publish custom GitHub Actions

Question

As a developer, how can you identify a Docker container action on GitHub?

Options

  • AThe action's repository includes @actions/core in the root directory.
  • BThe action's repository name includes the keyword "Docker."
  • CThe action.yml metadata file references a Dockerfile file.
  • DThe action.yml metadata file has the runs.using value set to Docker.

How the community answered

(29 responses)
  • B
    7% (2)
  • C
    3% (1)
  • D
    90% (26)

Explanation

In a Docker container action, the action.yml file includes the runs.using field, which is set to docker to specify that the action runs inside a Docker container. This is the key indicator that the action is a Docker container action.

Topics

#Docker container action#action.yml#runs.using#action identification

Community Discussion

No community discussion yet for this question.

Full GITHUB-ACTIONS Practice