We've got our script and a pretty good spot.
So I'm not going to commit this file, I go into the green button on the top right hand side and commit
new file.
OK.
So we've now got this new workflow put together now, anytime that we emerge in PR, we should see it,
that we are going to build a new image and push it off to Docker Hub.
Test this out right now.
We can go back over to that request.
We had already created.
But here's the one I made a little bit ago.
This definitely contains a change to our service.
So as soon as we merge this, we should see that new workflow that we just put together, run for the
first time, build the image and push it to Docker Hub.
Did it really test us out?
We'll go down to the bottom, merge the play request.
And then after merging its.
We should be able to go to the very top, go to actions.
We're going to see a new entry and a list of actions right here.
So it looks like it's running, might deploy off workflow.
Can click on that and then click on build on the left hand side.
I'll then see the log of everything it's going through.
So it looks like it's already built up the image and the time it took me just to click over here.
It looks like it then logged into Docker successfully.
And then finally, it looks like it is in the process of pushing the image off to Docker Hub.
Now, at this point, if you see any errors during that step or that step right there at the log in,
specifically the log in, see any errors around that?
Chances are there is a typo inside of your script.
I would encourage you to go back, double check it.
Also, make sure that you set up the Docker username and docker password secrets inside this repo successfully
as well.
All right.
So it's been a while now, but hopefully this little darker push step will eventually go through.
I'm not going to make you sit here and watch this.
Let's take a pause right here.
Hopefully, the next video, I'll be able to come back and confirm that.
Yeah, everything got pushed off.
Oh, sure.
There we go.
They got pushed down.
It looks like that's it.
I've built up the image and pushed it off to Docker Hub.
So that is awesome.
It is great progress.
We've now got our new image off on Docker Hub.
Now all we have to do is figure out how to somehow tell our Kuban that he's cluster to use this new
image we have just built.
We also, of course, have to make sure.
That we reapply or we apply this inbred directory at some point as well.
So really two more steps.
And we can make sure that the off service is up and running inside of our cluster.