Skip to content

Commit

Permalink
add dashboard nightlyh build
Browse files Browse the repository at this point in the history
Signed-off-by: xixi <[email protected]>
  • Loading branch information
Hexilee committed Nov 1, 2023
1 parent 4f448ec commit 30d51d4
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
15 changes: 13 additions & 2 deletions .github/workflows/nightly.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -210,17 +210,27 @@ jobs:
steps:
- uses: technote-space/workflow-conclusion-action@v3
- uses: actions/checkout@v3

- name: Check Failure
if: env.WORKFLOW_CONCLUSION == 'failure'
run: exit 1

- name: Set Node.js 18.18.0
uses: actions/setup-node@v3
with:
node-version: 18.18.0
- name: Run yarn install
uses: borales/actions-yarn@v4
with:
dir: dashboard-ui
cmd: install # will run `yarn install` command
- name: Build dashboard
run: make dashboard-dist
- name: Buildx and Push docker image nightly
env:
PASSWORD: ${{ secrets.DOCKERHUB_FUSE_ACCESS_TOKEN }}
JFSCHAN: beta
CEVERSION: ce-nightly
EEVERSION: ee-nightly
DASHBOARD_TAG: nightly
run: |
docker login --username chnliyong --password ${PASSWORD}
make -C docker image-nightly
Expand All @@ -229,6 +239,7 @@ jobs:
make -C docker ee-image
make -C docker fuse-ce-image
make -C docker fuse-ee-image
make -C docker dashboard-build
- name: Success
if: ${{ success() }}
run: echo "All Done"
Expand Down
1 change: 1 addition & 0 deletions docker/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@ fuse-ee-image-buildx:
dashboard-build:
docker build --build-context project=../ --build-context ui=../dashboard-ui/ -f dashboard.Dockerfile \
-t $(REGISTRY)/$(DASHBOARD_IMAGE):$(DASHBOARD_TAG) .
docker push $(REGISTRY)/$(DASHBOARD_IMAGE):$(DASHBOARD_TAG)

.PHONY: dashboard-buildx
dashboard-buildx:
Expand Down

0 comments on commit 30d51d4

Please sign in to comment.