mirror of https://github.com/docker/docs.git
Merge pull request #14994 from grant350/patch-1
added what file type the github actions is
This commit is contained in:
commit
ed010092c7
|
@ -39,7 +39,7 @@ Before we start, ensure you can access [Docker Hub](https://hub.docker.com/) fro
|
|||
|
||||
## Set up the GitHub Actions workflow
|
||||
|
||||
In the previous section, we created a PAT and added it to GitHub to ensure we can access Docker Hub from any workflow. Now, let’s set up our GitHub Actions workflow to build and store our images in Hub. We can achieve this by creating two Docker actions:
|
||||
In the previous section, we created a PAT and added it to GitHub to ensure we can access Docker Hub from any workflow. Now, let’s set up our GitHub Actions workflow to build and store our images in Hub. We can achieve this by creating two Docker actions in the YAML file below:
|
||||
|
||||
1. The first action enables us to log in to Docker Hub using the secrets we stored in the GitHub Repository.
|
||||
2. The second one is the build and push action.
|
||||
|
|
Loading…
Reference in New Issue