Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

👷 Enable linux/arm64 docker builds #3171

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading