GitHub Packages
GitHub Packages is a service provided by GitHub that allows developers to host their packages. These packages can be accessed either by your team or made available to the general public. We will use this service to publish our Docker image and make it available to be consumed by the public.
There are a few things we need to set up before we can deploy our Docker image into GitHub Packages. This section will walk you through the steps required to set up your repository. We will use GitHub.com/nanikjava/golangci
as a reference in this section.
You can access GitHub Packages from your repository by clicking on the Packages link, as shown in Figure 12.9.
Figure 12.9: Access to GitHub Packages
Once you click on the Packages link, you will be shown a screen similar to that in Figure 12.10. There will be no Packages displayed as we have not yet published any.
Figure 12.10: The GitHub Packages page
In the next...