diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index 3edc2bd0e8b..e7a649e74ba 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -14,7 +14,8 @@ jobs: - name: Check out the repo - uses: actions/checkout@v2 with: - fetch-depth: 1 + fetch-depth: 2 + - run: git checkout HEAD^ - name: Push to Docker Hub uses: docker/build-push-action@v1 with: