This is an automated email from the ASF dual-hosted git repository. wangdan pushed a commit to branch fix-github-ubuntu-2004-runner-removed in repository https://gitbox.apache.org/repos/asf/incubator-pegasus.git
The following commit(s) were added to refs/heads/fix-github-ubuntu-2004-runner-removed by this push: new 93011ef0c fix build env image 93011ef0c is described below commit 93011ef0c1e51ff38945394712cda17bcf1a0c00 Author: Dan Wang <wang...@apache.org> AuthorDate: Thu Apr 24 19:08:38 2025 +0800 fix build env image --- .github/workflows/build-push-env-docker.yml | 38 +++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/.github/workflows/build-push-env-docker.yml b/.github/workflows/build-push-env-docker.yml index 4c09badb8..3ff8d3f8e 100644 --- a/.github/workflows/build-push-env-docker.yml +++ b/.github/workflows/build-push-env-docker.yml @@ -84,3 +84,41 @@ jobs: THRIFT_VERSION=0.13.0 - name: Image digest run: echo ${{ steps.docker_build.outputs.digest }} + + build_go_compilation_env_docker_images: + runs-on: ubuntu-latest + env: + # The glibc version on ubuntu1804 is lower than the node20 required, so + # we need to force the node version to 16. + # See more details: https://github.com/actions/checkout/issues/1809 + ACTIONS_RUNNER_FORCE_ACTIONS_NODE_VERSION: node16 + ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true + strategy: + fail-fast: false + steps: + - name: Checkout + # The glibc version on ubuntu1804 is lower than the actions/checkout@v4 required, so + # we need to force to use actions/checkout@v3. + uses: actions/checkout@v4 + - name: Set up QEMU + uses: docker/setup-qemu-action@v3 + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v3 + - name: Login to DockerHub + uses: docker/login-action@v3 + with: + username: ${{ secrets.DOCKERHUB_USER }} + password: ${{ secrets.DOCKERHUB_TOKEN }} + - name: Build and push + uses: docker/build-push-action@v6 + with: + platforms: linux/amd64 + context: . + file: ./docker/pegasus-build-env/ubuntu2204/Dockerfile + push: true + tags: | + apache/pegasus:build-env-ubuntu2204-${{ github.ref_name }}-go + build-args: | + THRIFT_VERSION=0.13.0 + - name: Image digest + run: echo ${{ steps.docker_build.outputs.digest }} --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@pegasus.apache.org For additional commands, e-mail: commits-h...@pegasus.apache.org