Skip to content

chore(ci): bump reusable-docker-build-publish ref#22254

Merged
erikburt merged 1 commit intodevelopfrom
chore/update-resuable-docker-build-publish
Apr 30, 2026
Merged

chore(ci): bump reusable-docker-build-publish ref#22254
erikburt merged 1 commit intodevelopfrom
chore/update-resuable-docker-build-publish

Conversation

@erikburt
Copy link
Copy Markdown
Collaborator

@erikburt erikburt commented Apr 29, 2026

Bumps resuable-docker-build-publish to the newest ref (smartcontractkit/.github#1533).
New input documented here: smartcontractkit/.github#1526

Changes

  • Bumps resuable workflow to latest SHA-ref for release workflow build-publish
    • Adds allow-ovewrites: "false" which ensures that we cannot overwrite existing images in the public ECR
    • Public ECRs do not support immutable tags like private ECRs
  • Bumps resuable workflow to mutable major version tag for docker-build

Notes

We do not set allow-overwrites for the docker-build workflow, as the role that publishes the images doesn't have the proper permissions to query the private ECR. Republishing in the private ECR is also not a problem, but we shouldn't do it in the public ECR (which doesn't support immutability)

@erikburt erikburt self-assigned this Apr 29, 2026
@github-actions
Copy link
Copy Markdown
Contributor

✅ No conflicts with other open PRs targeting develop

@erikburt erikburt marked this pull request as ready for review April 29, 2026 20:11
@erikburt erikburt requested review from a team as code owners April 29, 2026 20:11
Copilot AI review requested due to automatic review settings April 29, 2026 20:11
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Risk Rating: MEDIUM (changes affect CI/release image build & publish behavior)

This PR updates the GitHub Actions workflows to use newer versions of the smartcontractkit/.github reusable Docker build/publish workflow, and adds an overwrite-prevention flag for public ECR publishing in the release workflow.

Changes:

  • Update .github/workflows/docker-build.yml to reference reusable-docker-build-publish/v1 (mutable major tag).
  • Update .github/workflows/build-publish.yml to pin to a newer reusable workflow commit SHA (reusable-docker-build-publish/1.2.0).
  • Add allow-overwrites input to release publish jobs to prevent overwriting existing public ECR tags.

Scrupulous human review focus:

  • Validate the intended security/reproducibility tradeoff of using a mutable reusable-workflow ref in docker-build.yml.
  • Confirm allow-overwrites input name and type match the reusable workflow’s workflow_call contract (especially boolean vs string).

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.

File Description
.github/workflows/docker-build.yml Bumps reusable workflow reference to a mutable v1 ref for docker-build jobs.
.github/workflows/build-publish.yml Pins reusable workflow to a newer SHA and adds allow-overwrites configuration for public ECR publishing.

Comment thread .github/workflows/build-publish.yml
Comment thread .github/workflows/docker-build.yml
Comment thread .github/workflows/build-publish.yml
@erikburt erikburt requested review from chainchad and removed request for tvc-robsondebraga April 29, 2026 20:16
@erikburt erikburt added this pull request to the merge queue Apr 30, 2026
Merged via the queue into develop with commit dc27cd6 Apr 30, 2026
71 of 73 checks passed
@erikburt erikburt deleted the chore/update-resuable-docker-build-publish branch April 30, 2026 20:56
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.

4 participants