Skip to content

Commit

Permalink
Merge pull request openwallet-foundation#3171 from didx-xyz/feature/e…
Browse files Browse the repository at this point in the history
…nable-arm64-docker

👷 Enable `linux/arm64` docker builds
  • Loading branch information
swcurran authored Aug 16, 2024
2 parents e1b4d67 + 19faf49 commit fd31065
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 fd31065

Please sign in to comment.