From f8ae67f38779c743c43bf07a9a3f3f0f79ef636a Mon Sep 17 00:00:00 2001 From: Andrey Gein Date: Tue, 23 Aug 2022 19:58:25 +0300 Subject: [PATCH] [images] Fix issue with checkouting the repo See https://github.com/actions/checkout/issues/439 --- .github/workflows/build-and-deploy-service-image.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/build-and-deploy-service-image.yml b/.github/workflows/build-and-deploy-service-image.yml index 329ca92e..d617b0b9 100644 --- a/.github/workflows/build-and-deploy-service-image.yml +++ b/.github/workflows/build-and-deploy-service-image.yml @@ -37,6 +37,9 @@ jobs: steps: - name: Check out repository code uses: actions/checkout@v2 + with: + fetch-depth: 0 + ref: main - name: Save private key run: 'echo "$SSH_KEY" > ~/cloud_ssh_private_key; chmod 600 ~/cloud_ssh_private_key' shell: bash