From 269cfa553d550625db70314ebb50a5b0d70ef01e Mon Sep 17 00:00:00 2001 From: HonzaCuhel Date: Sun, 11 Aug 2024 21:50:24 +0200 Subject: [PATCH] Add submodules loading --- .github/workflows/publish_image.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish_image.yaml b/.github/workflows/publish_image.yaml index 187289f..f5afe31 100644 --- a/.github/workflows/publish_image.yaml +++ b/.github/workflows/publish_image.yaml @@ -2,7 +2,7 @@ name: Publishing a docker image on: push: - branches: ['cli'] + branches: ['fix/publish-action'] env: NAME: luxonis/tools_cli @@ -32,6 +32,7 @@ jobs: - name: Publish latest run: | + git submodule update --init --recursive docker build -t $NAME:latest . docker tag $NAME:latest ghcr.io/$NAME:latest docker push ghcr.io/$NAME:latest