1 00:00:01,790 --> 00:00:03,330 We've got our script and a pretty good spot. 2 00:00:03,740 --> 00:00:08,990 So I'm not going to commit this file, I go into the green button on the top right hand side and commit 3 00:00:08,990 --> 00:00:09,500 new file. 4 00:00:12,020 --> 00:00:12,120 OK. 5 00:00:12,300 --> 00:00:17,580 So we've now got this new workflow put together now, anytime that we emerge in PR, we should see it, 6 00:00:17,580 --> 00:00:20,460 that we are going to build a new image and push it off to Docker Hub. 7 00:00:21,150 --> 00:00:22,200 Test this out right now. 8 00:00:22,230 --> 00:00:23,700 We can go back over to that request. 9 00:00:23,910 --> 00:00:24,810 We had already created. 10 00:00:25,820 --> 00:00:27,740 But here's the one I made a little bit ago. 11 00:00:29,950 --> 00:00:32,670 This definitely contains a change to our service. 12 00:00:33,250 --> 00:00:37,480 So as soon as we merge this, we should see that new workflow that we just put together, run for the 13 00:00:37,480 --> 00:00:40,150 first time, build the image and push it to Docker Hub. 14 00:00:41,320 --> 00:00:42,340 Did it really test us out? 15 00:00:42,520 --> 00:00:44,860 We'll go down to the bottom, merge the play request. 16 00:00:47,940 --> 00:00:49,510 And then after merging its. 17 00:00:51,290 --> 00:00:55,280 We should be able to go to the very top, go to actions. 18 00:00:58,820 --> 00:01:01,310 We're going to see a new entry and a list of actions right here. 19 00:01:01,490 --> 00:01:03,970 So it looks like it's running, might deploy off workflow. 20 00:01:04,590 --> 00:01:07,460 Can click on that and then click on build on the left hand side. 21 00:01:09,420 --> 00:01:11,330 I'll then see the log of everything it's going through. 22 00:01:11,420 --> 00:01:14,810 So it looks like it's already built up the image and the time it took me just to click over here. 23 00:01:15,740 --> 00:01:18,350 It looks like it then logged into Docker successfully. 24 00:01:20,640 --> 00:01:25,110 And then finally, it looks like it is in the process of pushing the image off to Docker Hub. 25 00:01:25,690 --> 00:01:29,700 Now, at this point, if you see any errors during that step or that step right there at the log in, 26 00:01:29,730 --> 00:01:32,400 specifically the log in, see any errors around that? 27 00:01:32,640 --> 00:01:35,190 Chances are there is a typo inside of your script. 28 00:01:35,640 --> 00:01:37,290 I would encourage you to go back, double check it. 29 00:01:37,350 --> 00:01:42,810 Also, make sure that you set up the Docker username and docker password secrets inside this repo successfully 30 00:01:42,810 --> 00:01:43,260 as well. 31 00:01:44,680 --> 00:01:44,890 All right. 32 00:01:44,920 --> 00:01:50,290 So it's been a while now, but hopefully this little darker push step will eventually go through. 33 00:01:50,680 --> 00:01:52,270 I'm not going to make you sit here and watch this. 34 00:01:52,540 --> 00:01:53,500 Let's take a pause right here. 35 00:01:53,560 --> 00:01:56,020 Hopefully, the next video, I'll be able to come back and confirm that. 36 00:01:56,040 --> 00:01:57,520 Yeah, everything got pushed off. 37 00:01:57,930 --> 00:01:58,600 Oh, sure. 38 00:01:58,720 --> 00:01:59,200 There we go. 39 00:01:59,770 --> 00:02:00,920 They got pushed down. 40 00:02:01,200 --> 00:02:02,020 It looks like that's it. 41 00:02:02,080 --> 00:02:04,500 I've built up the image and pushed it off to Docker Hub. 42 00:02:05,110 --> 00:02:06,130 So that is awesome. 43 00:02:06,160 --> 00:02:07,300 It is great progress. 44 00:02:07,630 --> 00:02:09,760 We've now got our new image off on Docker Hub. 45 00:02:10,330 --> 00:02:16,150 Now all we have to do is figure out how to somehow tell our Kuban that he's cluster to use this new 46 00:02:16,150 --> 00:02:17,470 image we have just built. 47 00:02:18,040 --> 00:02:19,750 We also, of course, have to make sure. 48 00:02:21,310 --> 00:02:24,700 That we reapply or we apply this inbred directory at some point as well. 49 00:02:25,300 --> 00:02:26,500 So really two more steps. 50 00:02:26,560 --> 00:02:29,830 And we can make sure that the off service is up and running inside of our cluster.