GITHUB-ACTIONS · Question #42
As a developer, you need to create a custom action written in Python. Which action type should you choose?
The correct answer is D. Docker container action. A Docker container action is ideal for custom actions that require specific environments or dependencies, such as Python. By creating a Docker container, you can define the environment with the necessary Python version and dependencies, and your Python code can run inside that
Question
As a developer, you need to create a custom action written in Python. Which action type should you choose?
Options
- AJavaScript action
- Bcomposite run step
- CPython action
- DDocker container action
How the community answered
(37 responses)- A8% (3)
- B3% (1)
- C3% (1)
- D86% (32)
Explanation
A Docker container action is ideal for custom actions that require specific environments or dependencies, such as Python. By creating a Docker container, you can define the environment with the necessary Python version and dependencies, and your Python code can run inside that
Topics
Community Discussion
No community discussion yet for this question.