From d211f9850f5304754851ac78ada407c8852c0831 Mon Sep 17 00:00:00 2001 From: Sam Cao Date: Tue, 20 Feb 2024 17:50:44 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9E=20fix:=20Remove=20docker=20build?= =?UTF-8?q?=20for=20linux=20arm64?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/console_build.yml | 39 +++++------------------------ 1 file changed, 6 insertions(+), 33 deletions(-) diff --git a/.github/workflows/console_build.yml b/.github/workflows/console_build.yml index f602597..86e1977 100644 --- a/.github/workflows/console_build.yml +++ b/.github/workflows/console_build.yml @@ -22,8 +22,8 @@ env: DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }} jobs: - build_jar_for_linux_and_windows_x86_64: - name: Build Jar for Linux and Windows x86_64 + jar_for_linux_and_windows_x86_64: + name: Jar for Linux and Windows x86_64 runs-on: ubuntu-latest steps: @@ -53,8 +53,8 @@ jobs: name: javet-shell-console-linux-windows_x86-64 path: console/build/libs/*.jar - build_jar_for_macos: - name: Build Jar for MacOS + jar_for_macos: + name: Jar for MacOS runs-on: macos-latest steps: @@ -84,8 +84,8 @@ jobs: name: javet-shell-console-macos path: console/build/libs/*.jar - build_docker_image_for_linux_amd64: - name: Build Docker Image for Linux amd64 + docker_image_for_linux_amd64: + name: Docker Image for Linux amd64 runs-on: ubuntu-latest steps: @@ -93,9 +93,6 @@ jobs: - name: Checkout the code uses: actions/checkout@v4 - - uses: docker-practice/actions-setup-docker@master - timeout-minutes: 12 - - name: Login to Docker Hub uses: docker/login-action@v3 with: @@ -106,27 +103,3 @@ jobs: run: | docker build -t ${{ env.DOCKERHUB_USERNAME }}/javet-shell:amd64-latest -f docker/console.Dockerfile . docker push ${{ env.DOCKERHUB_USERNAME }}/javet-shell:amd64-latest - - build_docker_image_for_linux_arm64: - name: Build Docker Image for Linux arm64 - runs-on: macos-14 - - steps: - - - name: Checkout the code - uses: actions/checkout@v4 - - - uses: docker-practice/actions-setup-docker@master - timeout-minutes: 12 - - - name: Login to Docker Hub - uses: docker/login-action@v3 - with: - username: ${{ secrets.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_TOKEN }} - - - name: Docker Build and Push - run: | - docker build -t ${{ env.DOCKERHUB_USERNAME }}/javet-shell:arm64-latest -f docker/console.Dockerfile . - docker push ${{ env.DOCKERHUB_USERNAME }}/javet-shell:arm64-latest -