Skip to content

Commit

Permalink
update server
Browse files Browse the repository at this point in the history
  • Loading branch information
pengpeng committed Dec 6, 2024
1 parent 8fcf8d5 commit 731399e
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 7 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/release-server.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,17 +22,22 @@ jobs:

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASS }}
- name: get latest tag
uses: "WyriHaximus/github-action-get-previous-tag@v1"
id: get-latest-tag
with:
fallback: latest
- name: Build and push
uses: docker/build-push-action@v3
with:
context: .
file: ./docker/Dockerfile-server
push: true
tags: beclab/settings-server:${{ github.event.inputs.tags }}
tags: beclab/settings-server:${{ steps.get-latest-tag.outputs.tag }}
platforms: linux/amd64,linux/arm64
2 changes: 1 addition & 1 deletion .github/workflows/release-settings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ jobs:
uses: docker/build-push-action@v3
with:
context: .
file: ./docker/settings/Dockerfile
file: ./docker/settings/Dockerfile-settings-frontend
push: true
tags: beclab/settings:${{ steps.get-latest-tag.outputs.tag }}
platforms: linux/amd64,linux/arm64
10 changes: 6 additions & 4 deletions packages/editor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,12 @@
"productName": "profile App",
"author": "icebergtsn <zhangyuhang@bytetrade.io>",
"private": true,
"scripts": {
"dev": "quasar dev"
},
"dependencies": {
"scripts": {
"dev": "quasar dev",
"editor:build": "ACTION=EDITOR quasar build",
"preview:build": "ACTION=PREVIEW quasar build"
},
"dependencies": {
"@bytetrade/ui": "^0.1.37",
"@quasar/extras": "^1.16.9",
"axios": "^1.3.5",
Expand Down

0 comments on commit 731399e

Please sign in to comment.