Skip to content

Commit b62a84c

Browse files
committed
perf: static build
1 parent a21b2e6 commit b62a84c

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

.github/workflows/build-static-image.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
platforms: linux/amd64,linux/arm64
4444
push: true
4545
tags: jumpserver/web-static:${{ env.IMAGE_TAG }}
46-
file: Dockerfile
46+
file: Dockerfile-static
4747

4848
- name: Get current branch name
4949
id: get_branch
@@ -56,7 +56,6 @@ jobs:
5656
5757
- name: Update docker-web dependencies applets
5858
run: |
59-
git checkout -b ${{ env.current_branch }}
6059
sed -E -i 's|jumpserver/web-static:\w+ |jumpserver/web-static:${{ env.IMAGE_TAG }} |' Dockerfile-ee
6160
sed -E -i 's|jumpserver/web-static:\w+ |jumpserver/web-static:${{ env.IMAGE_TAG }} |' Dockerfile
6261
git add Dockerfile-ee Dockerfile

prepare.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ cd ${DOWNLOAD_DIR}/public || exit 1
3232
wget ${DOWNLOAD_URL}/public/Microsoft_Remote_Desktop_${MRD_VERSION}_installer.pkg
3333
wget https://github.com/jumpserver/VideoPlayer/releases/download/v${VIDEO_PLAYER_VERSION}/JumpServer.Video.Player-${VIDEO_PLAYER_VERSION}.dmg
3434
wget https://github.com/jumpserver/VideoPlayer/releases/download/v${VIDEO_PLAYER_VERSION}/JumpServer.Video.Player.Setup.${VIDEO_PLAYER_VERSION}.exe
35-
3635
wget https://github.com/PowerShell/Win32-OpenSSH/releases/download/${OPENSSH_VERSION}p1-Beta/OpenSSH-Win64-${OPENSSH_VERSION}.msi
3736

3837
clients=("win-${CLIENT_VERSION}-x64.exe" "mac-${CLIENT_VERSION}-x64.dmg" "mac-${CLIENT_VERSION}-arm64.dmg"

0 commit comments

Comments
 (0)