This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
In which file do you define the steps to execute in your GitHub Action?
In a workflow.yml (YAML) file
In the Dockerfile
In the package.json file
Which action do you use to publish the latest version of a Docker image to GitHub Container Registry?
docker push ghcr.io/OWNER/IMAGE_NAME
docker push ghcr.io/OWNER/IMAGE_NAME:latest
docker push latest ghcr.io/OWNER/IMAGE_NAME
When pulling an image to your local environment, which credentials are needed?
Your GitHub username and a Personal Access Token
The name of the organization and an API Key
The name of the package and a package key
You must answer all questions before checking your work.
Was this page helpful?