Skip to content

Commit f8ae67f

Browse files
committed
[images] Fix issue with checkouting the repo
See actions/checkout#439
1 parent fa961ab commit f8ae67f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/build-and-deploy-service-image.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@ jobs:
3737
steps:
3838
- name: Check out repository code
3939
uses: actions/checkout@v2
40+
with:
41+
fetch-depth: 0
42+
ref: main
4043
- name: Save private key
4144
run: 'echo "$SSH_KEY" > ~/cloud_ssh_private_key; chmod 600 ~/cloud_ssh_private_key'
4245
shell: bash

0 commit comments

Comments
 (0)