Interview Prep/CI/CD/GitHub Actions

What is the difference between `uses: ./path`, `uses: owner/repo@ref`, and `docker://` references?

BeginnerConceptGitHub Actions
Answer

uses: ./.github/actions/foo runs an action from the checked-out repo (checkout must run first). uses: owner/repo@ref pulls an action from another repository at a tag, branch or SHA (use owner/repo/subdir@ref for sub-path actions). uses: docker://alpine:3.20 runs a step directly in a public Docker image.

All CI/CD questions

More on GitHub Actions