From the course: Advanced GitHub Actions

Unlock the full course today

Join today to access over 24,200 courses taught by industry experts.

Challenge: Publish and use a container image in a workflow

Challenge: Publish and use a container image in a workflow - GitHub Tutorial

From the course: Advanced GitHub Actions

Challenge: Publish and use a container image in a workflow

(upbeat music) - [Instructor] It's time for a challenge. Let's use the following scenario to apply what you've learned about using GitHub Actions to publish container images. You're working with a development team that's using container images to distribute their code. They've set up a workflow that publishes an image to GitHub Packages. Now they want to update the workflow to include tests as well. They've asked you to help them get started by setting up, rephrase. They've asked you to help them get started by setting up an example that builds and tests a container image in the same workflow. To solve this challenge, you'll start by creating a new repo and adding the exercise files. Use the suggested GitHub Action workflow for publishing an action to GitHub Packages. Once you have the files and workflow in place, modify the workflow to include a workflow dispatch trigger, then add a new job to run the image and…

Contents