From 6f47b367a0553d973970c5a2a4dda6ece38ed5af Mon Sep 17 00:00:00 2001 From: Colin Griffin <colin@krum.io> Date: Tue, 26 Apr 2022 17:32:02 -0400 Subject: [PATCH] update workflow to avoid recursive checkout --- .github/workflows/docker-build-push-dockerhub.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/docker-build-push-dockerhub.yml b/.github/workflows/docker-build-push-dockerhub.yml index 8b2b451..92e6310 100644 --- a/.github/workflows/docker-build-push-dockerhub.yml +++ b/.github/workflows/docker-build-push-dockerhub.yml @@ -33,9 +33,12 @@ jobs: # Steps represent a sequence of tasks that will be executed as part of the job steps: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - - uses: actions/checkout@v2 - with: - submodules: true + - name: checkout + uses: actions/checkout@v2 + + - name: Git submodule update + run: | + git submodule update --init - name: Docker Login # You may pin to the exact commit or the version.