diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 0b821d0..a72a0e4 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -32,11 +32,6 @@ jobs: echo "Release version is $REL_VER" echo "RELEASE_VERSION=$REL_VER" >> $GITHUB_ENV ./gradlew build -Pversion=$REL_VER - echo "Building UI" - ls -ltr server/build/libs - cd docker - ./build-ui.sh - echo "Done building UI" - name: Set up Docker Buildx uses: docker/setup-buildx-action@v1 @@ -63,7 +58,7 @@ jobs: orkesio/orkes-conductor-community:latest orkesio/orkes-conductor-community:${{ env.RELEASE_VERSION }} - - name: Build and push Server + - name: Build and push Standalone uses: docker/build-push-action@v3 with: context: . diff --git a/docker/DockerfileServer b/docker/DockerfileServer index 2fd9ec0..c2d34e0 100644 --- a/docker/DockerfileServer +++ b/docker/DockerfileServer @@ -25,6 +25,7 @@ RUN ./gradlew clean build -x test WORKDIR / RUN git clone https://github.com/Netflix/conductor WORKDIR conductor/ui +RUN yarn config set network-timeout 600000 -g RUN yarn install && yarn build RUN ls -ltr RUN echo "Done building UI" diff --git a/docker/DockerfileStandalone b/docker/DockerfileStandalone index af8fa0b..e4f69c0 100644 --- a/docker/DockerfileStandalone +++ b/docker/DockerfileStandalone @@ -25,6 +25,7 @@ RUN ./gradlew clean build -x test WORKDIR / RUN git clone https://github.com/Netflix/conductor WORKDIR conductor/ui +RUN yarn config set network-timeout 600000 -g RUN yarn install && yarn build RUN ls -ltr RUN echo "Done building UI" diff --git a/docker/build-ui.sh b/docker/build-ui.sh index 920ae43..8482565 100755 --- a/docker/build-ui.sh +++ b/docker/build-ui.sh @@ -4,5 +4,6 @@ cd tmp/ui pwd git clone https://github.com/Netflix/conductor cd conductor/ui +yarn config set network-timeout 600000 -g yarn install yarn build \ No newline at end of file