Skip to content

Commit

Permalink
Enable linux/arm64 docker builds
Browse files Browse the repository at this point in the history
* `1.0.0rc6` resolved build issues for `linux/arm64`

Signed-off-by: Robbie Blaine <[email protected]>
  • Loading branch information
rblaine95 committed Aug 16, 2024
1 parent e1b4d67 commit 19faf49
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/nigthly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,4 @@ jobs:
tag: ["nightly-${{needs.setup_and_check_pub.outputs.date}}", nightly]
with:
tag: ${{ matrix.tag }}
platforms: "linux/amd64"
platforms: "linux/amd64,linux/arm64"
10 changes: 6 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:
platforms:
description: 'Platforms - Comma separated list of the platforms to support.'
required: true
default: linux/amd64
default: linux/amd64,linux/arm64
type: string
ref:
description: 'Optional - The branch, tag or SHA to checkout.'
Expand All @@ -26,7 +26,7 @@ on:
type: string
platforms:
required: true
default: linux/amd64
default: linux/amd64,linux/arm64
type: string
ref:
required: false
Expand All @@ -35,7 +35,7 @@ on:
env:
# linux/386 platform support has been disabled pending a permanent fix for https://github.com/hyperledger/aries-cloudagent-python/issues/2124
# PLATFORMS: ${{ inputs.platforms || 'linux/amd64,linux/arm64,linux/386' }}
PLATFORMS: ${{ inputs.platforms || 'linux/amd64' }}
PLATFORMS: ${{ inputs.platforms || 'linux/amd64,linux/arm64' }}

jobs:
publish-image:
Expand Down Expand Up @@ -119,7 +119,9 @@ jobs:
acapy_reqs=[askar,bbs,didcommv2]
cache-from: type=local,src=/tmp/.buildx-cache
cache-to: type=local,dest=/tmp/.buildx-cache-new,mode=max
platforms: ${{ env.PLATFORMS }}
# Because of BBS, only linux/amd64 is supported for the extended image
# https://github.com/hyperledger/aries-cloudagent-python/issues/2124#issuecomment-2293569659
platforms: linux/amd64

# Temp fix
# https://github.com/docker/build-push-action/issues/252
Expand Down

0 comments on commit 19faf49

Please sign in to comment.