Update github-actions.md

Included 'Check Out Repo' step, to solve the the issue  https://github.com/docker/docker.github.io/issues/11718#issue-738387923
This commit is contained in:
euclides-c 2020-11-08 15:15:55 +09:00 committed by GitHub
parent ff4a9a46c2
commit c804aa66f1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 2 deletions

View File

@ -72,12 +72,14 @@ jobs:
runs-on: ubuntu-latest
```
Now, we can add the steps required. The first one is to use our PAT and username to log into Docker Hub. The second is the Builder, the action uses BuildKit under the hood through a simple Buildx action which we will also setup
Now, we can add the steps required. The first one checks-out our repository under $GITHUB_WORKSPACE, so our workflow can access it. The second is to use our PAT and username to log into Docker Hub. The third is the Builder, the action uses BuildKit under the hood through a simple Buildx action which we will also setup
{% raw %}
```yaml
steps:
- name: Check Out Repo
uses: actions/checkout@v2
- name: Login to Docker Hub
uses: docker/login-action@v1