Skip to content

exec /usr/bin/github-actions-entrypoint.sh: exec format error while running on linux/arm64 self-hosted runner #128

Open
@hari-rad

Description

@hari-rad

We use a linux/arm64 self-hosted runner in github-actions workflows.
We don't see an option to specify the architecture to be used.

Given below is the error output seen in the github workflow run

Run jenkins-x-plugins/[email protected]
  with:
    tag: true
    github-token: ***
    previous-version: auto
    next-version: auto
    output-format: {{.Major}}.{{.Minor}}.{{.Patch}}
    tag-prefix: v
    push-tag: true
  env:
    AWS_REGION: ap-southeast-[2](https://github.com/org/repo/actions/runs/12941142245/job/36096683793#step:13:2)
    GHA_ROLE: arn:aws:iam::111222333444:role/github-actions-role
    CONTEXT: master
    AWS_DEFAULT_REGION: ap-southeast-2
    AWS_ACCESS_KEY_ID: ***
    AWS_SECRET_ACCESS_KEY: ***
    AWS_SESSION_TOKEN: ***
/usr/bin/docker run --name ghcriojenkinsxjxreleaseversion278_9227d0 --label 8ed4c[3](https://github.com/org/repo/actions/runs/12941142245/job/36096683793#step:13:3) --workdir /github/workspace --rm -e "AWS_REGION" -e "GHA_ROLE" -e "CONTEXT" -e "AWS_DEFAULT_REGION" -e "AWS_ACCESS_KEY_ID" -e "AWS_SECRET_ACCESS_KEY" -e "AWS_SESSION_TOKEN" -e "INPUT_TAG" -e "INPUT_GITHUB-TOKEN" -e "INPUT_PREVIOUS-VERSION" -e "INPUT_NEXT-VERSION" -e "INPUT_OUTPUT-FORMAT" -e "INPUT_TAG-PREFIX" -e "INPUT_PUSH-TAG" -e "INPUT_GIT-USER" -e "INPUT_GIT-EMAIL" -e "PREVIOUS_VERSION" -e "NEXT_VERSION" -e "OUTPUT_FORMAT" -e "TAG" -e "TAG_PREFIX" -e "PUSH_TAG" -e "GIT_TOKEN" -e "GIT_NAME" -e "GIT_EMAIL" -e "HOME" -e "GITHUB_JOB" -e "GITHUB_REF" -e "GITHUB_SHA" -e "GITHUB_REPOSITORY" -e "GITHUB_REPOSITORY_OWNER" -e "GITHUB_REPOSITORY_OWNER_ID" -e "GITHUB_RUN_ID" -e "GITHUB_RUN_NUMBER" -e "GITHUB_RETENTION_DAYS" -e "GITHUB_RUN_ATTEMPT" -e "GITHUB_REPOSITORY_ID" -e "GITHUB_ACTOR_ID" -e "GITHUB_ACTOR" -e "GITHUB_TRIGGERING_ACTOR" -e "GITHUB_WORKFLOW" -e "GITHUB_HEAD_REF" -e "GITHUB_BASE_REF" -e "GITHUB_EVENT_NAME" -
WARNING: The requested image's platform (linux/amd6[4](https://github.com/org/repo/actions/runs/12941142245/job/36096683793#step:13:4)) does not match the detected host platform (linux/arm[6](https://github.com/org/repo/actions/runs/12941142245/job/36096683793#step:13:6)4/v8) and no specific platform was requested
exec /usr/bin/github-actions-entrypoint.sh: exec format error

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions