Skip to content

feat: reusable-docker-build-publish optional amd64#1488

Merged
erikburt merged 5 commits intomainfrom
dx-3203/optional-amd64-builds
Mar 30, 2026
Merged

feat: reusable-docker-build-publish optional amd64#1488
erikburt merged 5 commits intomainfrom
dx-3203/optional-amd64-builds

Conversation

@erikburt
Copy link
Copy Markdown
Contributor

@erikburt erikburt commented Mar 26, 2026

Makes amd64 builds optional in the reusable-docker-build-publish workflow.

Changes

  • Add build-amd64-image input to the workflow
  • Validate that at least one of build-amd64-image and build-arm64-image is true
  • Update logic to build the matrix JSON
    • Appends an entry to the initially empty JSON array, if the input/env-var is true
  • Update image digests creation to use a bash array, appending if build option was true.

Testing

https://github.com/smartcontractkit/chainlink/actions/runs/23619781674?pr=21739

^ This tests:

  • an amd64 only build
  • an arm64 only build
  • a build that disable both (errors)

DX-3203

@erikburt erikburt self-assigned this Mar 26, 2026
@erikburt erikburt marked this pull request as ready for review March 26, 2026 22:02
@erikburt erikburt requested a review from a team as a code owner March 26, 2026 22:02
@erikburt erikburt force-pushed the dx-3203/optional-amd64-builds branch from d9db5aa to 7489b86 Compare March 27, 2026 20:11
@erikburt erikburt force-pushed the dx-3203/optional-amd64-builds branch from 7489b86 to 04e2501 Compare March 27, 2026 20:13
@erikburt erikburt merged commit 77e30f3 into main Mar 30, 2026
18 checks passed
@erikburt erikburt deleted the dx-3203/optional-amd64-builds branch March 30, 2026 18:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants