Skip to content

How to use a base_image with multiple-platforms for aarch64? #113

@laoshanxi

Description

@laoshanxi

I am trying this to run arm64 docker container, but seems I can not get a QMENU ARM64 environment, still X86 runner, is there anything wrong with my configuration?

action output:
https://github.com/laoshanxi/app-mesh/actions/runs/4329800139/jobs/7560595971

workflow:

      - name: build with ubuntu18 ARM64
        uses: uraimo/[email protected]
        with:
          arch: aarch64
          distro: ubuntu_latest
          githubToken: ${{ github.token }}
          dockerRunArgs: |
            --volume ${{ github.workspace }}:/workspace --workdir /workspace
          base_image: laoshanxi/appmesh:build_ubuntu18
          shell: /bin/sh
          run: |
            mkdir ubuntu18arm
            cd ubuntu18arm
            cmake ..
            make -j4
            make pack
            ls
            make test ARGS='-V'

image

and also I founc $(arch) return x86_64.

BTW, the base_image laoshanxi/appmesh:build_ubuntu18 here have arm64 and x86_64 platforms, so how can I force specify arm64 to run this base image?
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions