As a developer, how can you identify a Docker container action on GitHub?
Suggested Answer: D
Get Premium GH-200 Questions
as Interactive Web-Based Practice Test or PDF
Real Exam Format
Detailed Explanations
Instant Access
Get Your Practice Test
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.
12 comments · newest first
EL
Elin
3 months ago
I'm leaning towards A. The presence of @actions/core is a strong indicator for me.
LO
Loreta
3 months ago
I agree, but option C also makes sense. If there's a Dockerfile, it's likely a Docker action.
JA
Jamal
3 months ago
I think option D is the best choice. It clearly states the usage of Docker.
NO
Novella
4 months ago
Totally agree with D, it's clear and concise!
KA
Kara
4 months ago
Wait, can you really tell just by the repo name? Sounds off.
LE
Lenny
4 months ago
A doesn't really mean it's a Docker action though.
BI
Billi
4 months ago
I think D is the most straightforward way to tell.
AL
Alesia
4 months ago
C is definitely a key indicator!
HA
Hayley
4 months ago
I remember discussing how the action.yml file is crucial, so option D might be the best choice since it directly mentions Docker.
MA
Markus
5 months ago
I practiced a question like this before, and I think option A is a bit misleading. Just because it has @actions/core doesn't mean it's a Docker action.
SH
Shantay
5 months ago
I'm not entirely sure, but I feel like option C could be correct since it mentions the action.yml and Dockerfile together.
LA
Launa
5 months ago
I think option D sounds familiar because I remember something about the runs.using value indicating the environment.