As a DevOps engineer, you are developing a container action. You need to execute a cleanup script
after completing the main script execution.
Which code block should be used to define the cleanup script?
A)
B)
C)
D)
A . Option A
B . Option B
C . Option C
D . Option D
Answer: A
Explanation:
The correct syntax for specifying a cleanup script to be run after the main entry point is executed in a Docker-based GitHub Action is to use the post key. This ensures that cleanup.sh runs after the main script (main.sh) has completed.
Latest GitHub Actions Dumps Valid Version with 72 Q&As
Latest And Valid Q&A | Instant Download | Once Fail, Full Refund