Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
zwwhdls committed Jul 25, 2023
1 parent 985ab0d commit 0a790a2
Showing 1 changed file with 6 additions and 12 deletions.
18 changes: 6 additions & 12 deletions .github/workflows/juicefs-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,19 +40,13 @@ jobs:
fi
- name: Buildx and Push juicefs image
env:
CEVERSION: ce-${{ env.JUICEFS_CE_LATEST_VERSION }}
CEJUICEFS_VERSION: ${{ env.JUICEFS_CE_LATEST_VERSION }}
CEVERSION: ce-v1.1.0-beta2
CEJUICEFS_VERSION: v1.1.0-beta2
run: |
image_exist=${{ env.MOUNT_IMAGE_EXIST }}
if [ $image_exist == "false" ]; then
echo "Build JuiceFS new version image: $JUICEFS_CE_LATEST_VERSION"
export DOCKER_CLI_EXPERIMENTAL=enabled
docker run --rm --privileged docker/binfmt:66f9012c56a8316f9244ffd7622d7c21c1f6f28d
docker buildx create --use --name mybuilder
make ce-image-buildx
else
echo "JuiceFS mount ce version image $JUICEFS_CE_LATEST_VERSION already exists"
fi
export DOCKER_CLI_EXPERIMENTAL=enabled
docker run --rm --privileged docker/binfmt:66f9012c56a8316f9244ffd7622d7c21c1f6f28d
docker buildx create --use --name mybuilder
make ce-image-buildx
publish-ee-mount-image:
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit 0a790a2

Please sign in to comment.