From the course: Advanced GitHub Actions
Unlock the full course today
Join today to access over 24,200 courses taught by industry experts.
Solution: Publish and use a container image in workflows - GitHub Tutorial
From the course: Advanced GitHub Actions
Solution: Publish and use a container image in workflows
(upbeat music) - [Instructor] To solve this challenge, we'll be publishing and using a container image in the same workflow. I've already created a new repo and uploaded the exercise files, so let's get started. The first thing I need to do, is get my workflow file in place. So I'm going to click Actions, and we get suggested workflows that we can use. And the main one that we want to use for this one is Publish Docker Container, so I'll click that one. I believe in this challenge we also had to add a workflow dispatch trigger. So I'm going to get rid of this schedule trigger. Well, maybe completely, just yet I'm just going to get rid of that and then change schedule into workflow_dispatch. Okay, so, and that'll make it easier to run this workflow without having to push files every time we want to run the workflow. So I think that's the only change we need to make so far. Let's go ahead and commit this file, Commit new…
Contents
-
-
-
-
-
(Locked)
The GitHub package registry introduction54s
-
(Locked)
The GitHub package registry overview2m 9s
-
(Locked)
Publishing container images6m 28s
-
(Locked)
Publishing software packages5m 45s
-
(Locked)
Challenge: Publish and use a container image in a workflow1m 59s
-
(Locked)
Solution: Publish and use a container image in workflows7m 47s
-
(Locked)
-
-
-