HDDS-4891. Avoid latest/master in Github Actions (#2)

diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml
index 6e74267..2597714 100644
--- a/.github/workflows/build.yaml
+++ b/.github/workflows/build.yaml
@@ -22,6 +22,6 @@
     runs-on: ubuntu-18.04
     steps:
       - name: checkout source
-        uses: actions/checkout@master
+        uses: actions/checkout@v2
       - name: build image
         run: docker build -t ghcr.io/$(echo $GITHUB_REPOSITORY | sed 's/docker-//g') .