Skip to content

Error on Self-Hosted ARM Runners #2316

@abasu0713

Description

@abasu0713

Summary

I see that the binaries for digger exists for linux/arm64.. But on the actions it's still pulling x64 flavor.. I am running this on a self-hosted runner on Kubernetes with nodes of type Arm64.

Is there a way to tell the action to pull an arm image?

Run actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b
Run mkdir -p $GITHUB_WORKSPACE/cache
Run set -euo pipefail
🔧 Downloading Digger CLI...
Runner OS: Linux, Arch: ARM64, Digger Version: vLatest
Downloading from: https://github.com/diggerhq/digger/releases/download/vLatest/digger-cli-Linux-X64
Successfully downloaded and prepared Digger CLI
/home/runner/_work/_temp/d4589813-0c60-4539-b05b-4d8b1b3de568.sh: line 48: /home/runner/_work/release-forge/release-forge/digger: cannot execute binary file: Exec format error
name: Digger Workflow

on:
  workflow_dispatch:
    inputs:
      spec:
        description: 'The specification for the deployment'
        required: true
      run_name:
        description: 'The name of the run'
        required: true

run-name: ${{ github.event.inputs.run_name }}

jobs:
  digger-job:
    runs-on: self-hosted-terraform-runner
    permissions:
      contents: write      # required to merge PRs
      actions: write       # required for plan persistence
      id-token: write      # required for workload-identity-federation
      pull-requests: write # required to post PR comments
      issues: read         # required to check if PR number is an issue or not
      statuses: write      # required to validate combined PR status

    steps:
      - uses: actions/checkout@v4
      - name: ${{ fromJSON(github.event.inputs.spec).job_id }}
        run: echo "job id ${{ fromJSON(github.event.inputs.spec).job_id }}"
      - uses: diggerhq/digger@vLatest
        with:
          digger-spec: ${{ inputs.spec }}
          setup-terraform: true
          terraform-version: v1.5.6
        env:
          GITHUB_CONTEXT: ${{ toJson(github) }}
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Would appreciate any help.

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