D4: GitHub Packages & Third-Party Integration in Workflows
GH-200 GitHub Actions exam practice questions · 10 flashcards
Question
Publishing to GitHub Packages from Actions?
1 / 10
Tip: Space flips the card, ← / → navigate.
Show all 10 GitHub Packages & Third-Party Integration in Workflows practice questions and answers
- Publishing to GitHub Packages from Actions?Use GITHUB_TOKEN with packages: write.
- Container registry address?ghcr.io/OWNER/IMAGE.
- Logging into GHCR?docker/login-action with registry ghcr.io, username github.actor, password GITHUB_TOKEN.
- Package permissions?Packages can inherit repository access or have granular permissions.
- Using npm registry from GitHub Packages?Configure .npmrc with npm.pkg.github.com and token.
- Deploying to cloud providers?Official actions (aws-actions, azure/login, google-github-actions) with OIDC.
- Third-party services in CI?Integrate via actions or API calls with secrets.
- Docker build and push?docker/build-push-action with buildx and cache.
- Container image provenance?Attestations linked to image digests.
- Scenario: publish Docker image on release to GHCR. Steps?on: release → login to ghcr.io → build-push-action with packages: write.