We are excited to announce the release of ARM builds in the Pipelines cloud runtime.

Standard & Premium customers only:

To enjoy using ARM builds, you need to be on a Bitbucket Standard or Premium plan. Learn more about our plans and pricing.

Our release of Linux based ARM runners in cloud allows you to build and deploy software for ARM-based systems with all the benefits of our fully managed CI/CD platform.

To use the new cloud ARM runners in your pipeline, make the following modifications to your bitbucket-pipelines.yml file:

  • Set the ARM runtime in your pipeline’s YAML file, available as a global option or can be set as a step-level option. Declaring it as a global option will result in all steps in the file running on ARM.
  • ARM builds require you to use an image that is ARM compatible, meaning you must explicitly declare an image for your build, and that image must support ARM.
Note:

The Atlassian provided default-image supports arm from version 4 onwards: atlassian/default-image:4

Example step-level configuration:

pipelines:
  default:
    - step:
        image: atlassian/default-image:4
        runtime:
          cloud:
            arch: arm
        script:
          - echo "aarch64"
    - step:
        runtime:
          cloud:
            arch: x86 # This is the default if not configured
        script:
          - echo "x86"
    - step:
        script:
          - echo "x86"

Example step-level configuration:

pipelines:
  default:
    - step:
        image: atlassian/default-image:4
        runtime:
          cloud:
            arch: arm
        script:
          - echo "aarch64"
    - step:
        runtime:
          cloud:
            arch: x86 # This is the default if not configured
        script:
          - echo "x86"
    - step:
        script:
          - echo "x86"

ARM on Linux is powered by our new runtime and has been in-use internally within Atlassian for over six months in order to ensure it is ready to be shared with customers.

We’d love to hear your feedback & suggestions via the Pipelines community, please contact support if you experience any issues.

Announcing ARM builds in cloud for Bitbucket Pipelines