diff --git a/.gitea/workflows/docker.yml b/.gitea/workflows/docker.yml index 3caa1f5..4032a48 100644 --- a/.gitea/workflows/docker.yml +++ b/.gitea/workflows/docker.yml @@ -1,4 +1,4 @@ -name: Build and Push Docker Image +name: Build and Push NLP Docker Image on: push: @@ -9,7 +9,19 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - name: Checkout repository with submodules + uses: actions/checkout@v4 + with: + submodules: recursive + token: ${{ secrets.ACCESS_TOKEN }} + + - name: Initialize submodules + run: | + git submodule sync --recursive + git submodule update --init --recursive + git submodule status + ls -la src/modules/db + ls -la src/modules/redis - name: Login to Registry uses: docker/login-action@v3 @@ -25,7 +37,7 @@ jobs: - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 - - name: Build and Push (multi-arch) + - name: Build and Push NLP (multi-arch) uses: docker/build-push-action@v6 with: context: . @@ -39,4 +51,4 @@ jobs: - name: Log out from registry if: always() - run: docker logout gitea.spilum.net + run: docker logout gitea.spilum.net \ No newline at end of file