Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
Signed-off-by: zwwhdls <[email protected]>
  • Loading branch information
zwwhdls committed Jun 20, 2024
1 parent d2cfbea commit 7c01a50
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/juicefs-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,15 +47,17 @@ jobs:
- name: Build and Push juicefs latest image
env:
CEVERSION: latest
ACR_TOKEN: ${{ secrets.ACR_TOKEN }}
ACR_USERNAME: ${{ secrets.ACR_USERNAME }}
run: |
image_exist=${{ env.MOUNT_IMAGE_EXIST }}
if [ $image_exist == "false" ]; then
if [[ ${JUICEFS_CE_LATEST_VERSION:0:4} != "v1.1" ]]; then
echo "Build JuiceFS latest image"
export CEJUICEFS_VERSION=${JUICEFS_CE_LATEST_VERSION}
make -C docker ce-image
${GITHUB_WORKSPACE}/.github/scripts/sync.sh mount
fi
${GITHUB_WORKSPACE}/.github/scripts/sync.sh mount
else
echo "JuiceFS latest image already exists"
fi
Expand Down

0 comments on commit 7c01a50

Please sign in to comment.