Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

GitHub Exam GitHub-Actions Topic 2 Question 4 Discussion

Actual exam question for GitHub's GitHub-Actions exam
Question #: 4
Topic #: 2
[All GitHub-Actions Questions]

Which files are required for a Docker container action in addition to the source code? (Choose two.)

Show Suggested Answer Hide Answer
Suggested Answer: A, D

Dockerfile: The Dockerfile is required for Docker container actions. It defines the environment for the action, specifying the base image, dependencies, and any commands to set up the action's runtime inside the container.

action.yml: The action.yml file is required for all GitHub Actions, including Docker container actions. It contains metadata about the action, including the inputs, outputs, and the runtime environment (which in this case is Docker, defined under runs.using).


Contribute your Thoughts:

Scot
3 days ago
I believe D) action.yml is also required for a Docker container action.
upvoted 0 times
...
Maira
5 days ago
I agree with Fernanda, Dockerfile is definitely needed.
upvoted 0 times
...
Fernanda
15 days ago
I think A) Dockerfile is required.
upvoted 0 times
...

Save Cancel