Skip to content

Commit

Permalink
devops: fix harbor build action
Browse files Browse the repository at this point in the history
Signed-off-by: Miguel Garcia Garcia <[email protected]>
  • Loading branch information
miguelgrc committed Feb 23, 2024
1 parent 1d0a0d7 commit 4013218
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/harbour-build-ui.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,13 @@ name: Build and export CAP UI image

on:
push:
branches: ['master', 'dev', 'qa', 'test']
paths:
- "ui/**"
- ".github/workflows/ui-test.yml"
branches: ["master", "dev", "qa", "test", "with-formule"]
# paths:
# - "ui/**"
# - ".github/workflows/ui-test.yml"

jobs:
build-image:
needs: UITest
name: Build and export ui image
runs-on: ubuntu-20.04

Expand Down
4 changes: 2 additions & 2 deletions docker/harbour/ui/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ RUN apt-get update
RUN apt-get install -y curl bash


RUN curl -sL https://deb.nodesource.com/setup_14.x | bash -
RUN curl -sL https://deb.nodesource.com/setup_18.x | bash -
RUN apt-get install -y nodejs

RUN apt-get update && apt-get -y install git python g++ make
Expand Down Expand Up @@ -94,7 +94,7 @@ RUN echo "=========================="
RUN yarn config set cache ~/.my-yarn-cache-dir

RUN pwd
RUN yarn install
RUN yarn install --network-timeout 1000000
# RUN yarn upgrade

RUN yarn workspace cap-react build
Expand Down

0 comments on commit 4013218

Please sign in to comment.