Skip to content
This repository has been archived by the owner on Aug 8, 2024. It is now read-only.

Commit

Permalink
perf: docker file workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ibuler committed Jul 25, 2024
1 parent 9ac03cc commit a5cb512
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/build-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,10 @@ jobs:
git clone https://github.com/jumpserver/docker-web.git
cd docker-web
git checkout -b ${{ env.current_branch }}
sed -i 's|jumpserver/web-static:.* |jumpserver/web-static:${{ env.IMAGE_TAG }} |' Dockerfile-ee
git add Dockerfile-ee
git commit -m "perf: Update Dockerfile-ee web static version"
sed -i 's|jumpserver/web-static:\w+ |jumpserver/web-static:${{ env.IMAGE_TAG }} |' Dockerfile-ee
sed -i 's|jumpserver/web-static:\w+ |jumpserver/web-static:${{ env.IMAGE_TAG }} |' Dockerfile
git add Dockerfile-ee Dockerfile
git commit -m "perf: Update web static version"
- name: Push changes
run: |
Expand Down

0 comments on commit a5cb512

Please sign in to comment.