Use specific and latest version in actions x2
authorAjay Bura <ajbura@gmail.com>
Mon, 31 Jan 2022 04:33:31 +0000 (10:03 +0530)
committerAjay Bura <ajbura@gmail.com>
Mon, 31 Jan 2022 04:33:31 +0000 (10:03 +0530)
.github/workflows/docker.yaml

index bada57869737e3600055d40f8fe61791a2d8ff74..31bbac339e9ae404f073fceeafc17178267d6584 100644 (file)
@@ -11,22 +11,22 @@ jobs:
 
     steps:
       - name: Check out the repo
-        uses: actions/checkout@v2
+        uses: actions/checkout@v2.4.0
 
       - name: Log in to Docker Hub
-        uses: docker/login-action@v1
+        uses: docker/login-action@v1.12.0
         with:
           username: ${{ secrets.DOCKER_USERNAME }}
           password: ${{ secrets.DOCKER_PASSWORD }}
 
       - name: Extract metadata (tags, labels) for Docker
         id: meta
-        uses: docker/metadata-action@v3
+        uses: docker/metadata-action@v3.6.2
         with:
           images: ajbura/cinny
 
       - name: Build and push Docker image
-        uses: docker/build-push-action@v2
+        uses: docker/build-push-action@v2.8.0
         with:
           context: .
           push: true