refactor: unify the greptime artifacts building (#2015)

* refactor: unify the make targets of building images

* refactor: make Dockerfile more clean

1. Add dev-builder image to build greptime binary easily;
2. Add 'docker/ci/Dockerfile-centos' to release centos image;
3. Delete Dockerfile of aarch64 and just need to use one Dockerfile;

Signed-off-by: zyy17 <zyylsxm@gmail.com>

---------

Signed-off-by: zyy17 <zyylsxm@gmail.com>
This commit is contained in:
zyy17
2023-07-24 11:06:16 +08:00
committed by GitHub
parent f1cd28ffa1
commit 657fcaf9d0
10 changed files with 208 additions and 170 deletions

View File

@@ -399,7 +399,7 @@ jobs:
uses: docker/build-push-action@v3
if: success() || steps.unzip-arm64.conclusion == 'success' # Build and push all platform if unzip-arm64 succeeds
with:
context: ./docker/ci/
context: .
file: ./docker/ci/Dockerfile
push: true
platforms: linux/amd64,linux/arm64
@@ -411,7 +411,7 @@ jobs:
uses: docker/build-push-action@v3
if: success() || steps.download-arm64.conclusion == 'failure' # Only build and push amd64 platform if download-arm64 fails
with:
context: ./docker/ci/
context: .
file: ./docker/ci/Dockerfile
push: true
platforms: linux/amd64