From 8f6a9de5c8012fc3e9948b3694d26f3ea9cf4107 Mon Sep 17 00:00:00 2001 From: scossu Date: Thu, 11 Jan 2024 20:35:29 -0500 Subject: [PATCH] Pull submodules. --- .github/workflows/push-docker-image.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/push-docker-image.yml b/.github/workflows/push-docker-image.yml index 8f450e7..193f205 100644 --- a/.github/workflows/push-docker-image.yml +++ b/.github/workflows/push-docker-image.yml @@ -14,14 +14,19 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 + with: + submodules: recursive + - name: Build the Docker image run: > docker build . --tag $DOCKER_USER/$REPO_NAME:${{ github.ref_name }} --tag $DOCKER_USER/$REPO_NAME:latest + - name: Login to Docker Hub uses: docker/login-action@v3 with: username: lcnetdev password: ${{ secrets.DOCKER_HUB }} + - name: Push to Docker Hub run: docker push $DOCKER_USER/$REPO_NAME --all-tags