ci: add 'upload-to-s3' option and disable it in dev build (#2124)

This commit is contained in:
zyy17
2023-08-08 19:22:24 +08:00
committed by GitHub
parent c39de9072f
commit d927ab1ce5
4 changed files with 20 additions and 0 deletions

View File

@@ -170,6 +170,7 @@ jobs:
aws-secret-access-key: ${{ secrets.AWS_CN_SECRET_ACCESS_KEY }}
aws-region: ${{ vars.AWS_RELEASE_BUCKET_REGION }}
dev-mode: true # Only build the standard greptime binary.
upload-to-s3: false # No need to upload to S3.
build-linux-arm64-artifacts:
name: Build linux-arm64 artifacts
@@ -206,6 +207,7 @@ jobs:
aws-secret-access-key: ${{ secrets.AWS_CN_SECRET_ACCESS_KEY }}
aws-region: ${{ vars.AWS_RELEASE_BUCKET_REGION }}
dev-mode: true # Only build the standard greptime binary.
upload-to-s3: false # No need to upload to S3.
release-images-to-dockerhub:
name: Build and push images to DockerHub