Flashcardsfor IT Certifications

D3: Building Docker & Composite Actions

GH-200 GitHub Actions exam practice questions · 10 flashcards

Question
Docker action Dockerfile requirements?
1 / 10

Tip: Space flips the card, ← / → navigate.

Last updated: · Report an error on this page

Show all 10 Building Docker & Composite Actions practice questions and answers
  1. Docker action Dockerfile requirements?
    Don't use WORKDIR override assumptions; GITHUB_WORKSPACE mounted; avoid USER changes that break permissions.
  2. Passing inputs to Docker action?
    args in action.yml using ${{ inputs.x }} or INPUT_ env vars.
  3. Prebuilt image for Docker action?
    image: docker://ghcr.io/org/image:tag for faster startup.
  4. Docker action OS limitation?
    Linux runners only.
  5. Composite step shell requirement?
    Each run step must specify shell:.
  6. Using other actions inside composite?
    Supported via uses: steps.
  7. Composite action path reference?
    ${{ github.action_path }} to access action files.
  8. Composite outputs?
    Map from inner step outputs.
  9. Composite vs reusable workflow scope?
    Composite runs within caller's job; reusable workflow runs as separate jobs.
  10. Scenario: wrap 5 repeated setup steps used across many jobs. Type?
    Composite action.