Automate Your Workflow with GitHub Actions – Part 2 of 2 Knowledge Check Estimated reading: 1 minute 73 views Test your knowledge 1. 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 2. Which command 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 3. When pulling an image to your local environment, which credentials are required? Your GitHub username and a Personal Access Token The organization name and an API key The package name and a package key Knowledge Check - PreviousExercise – Publish to a GitHub Packages RegistryNext - Knowledge CheckGitHub Packages for Code Packages