Skip to content

Commit

Permalink
submodules....
Browse files Browse the repository at this point in the history
Signed-off-by: Maximilian Huber <gh@maxhbr.de>
  • Loading branch information
maxhbr committed Mar 13, 2024
1 parent 023283d commit 305d340
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions .github/workflows/build_container_image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,21 @@ jobs:
- uses: actions/checkout@v4
# with:
# submodules: true
- name: non recursive submodule checkout
- name: submodule checkout
run: |
mkdir ~/.ssh
ssh-keygen -t rsa -b 4096 -m PEM -f gh-actions-key -q -N ""
# Start the SSH agent and add the key
eval "$(ssh-agent -s)"
ssh-add gh-actions-key
# Ensure SSH does not ask for host verification
mkdir -p ~/.ssh
echo -e "Host github.com\n\tStrictHostKeyChecking no\n" >> ~/.ssh/config
ssh-keyscan -t rsa gitlab.com >> ~/.ssh/known_hosts
ssh-keyscan github.com >> ~/.ssh/known_hosts
git submodule update --init
git submodule sync --recursive
git submodule update --init --recursive
# git submodule update --init
- name: 'Login to GitHub Container Registry'
uses: docker/login-action@v1
Expand Down

0 comments on commit 305d340

Please sign in to comment.