From fe7c7660d343ec347fbceeb9e73e63f6e4a2c704 Mon Sep 17 00:00:00 2001 From: Ajay Bura Date: Mon, 31 Jan 2022 10:03:31 +0530 Subject: [PATCH] Use specific and latest version in actions x2 --- .github/workflows/docker.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/docker.yaml b/.github/workflows/docker.yaml index bada578..31bbac3 100644 --- a/.github/workflows/docker.yaml +++ b/.github/workflows/docker.yaml @@ -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