Skip to content

ci: add ECR publish alongside Docker Hub#368

Merged
polymesh-bot merged 1 commit into
masterfrom
feat/ecr-dockerhub-publish-workflow
Jul 7, 2026
Merged

ci: add ECR publish alongside Docker Hub#368
polymesh-bot merged 1 commit into
masterfrom
feat/ecr-dockerhub-publish-workflow

Conversation

@debelio

@debelio debelio commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

JIRA Link

N/A

Changelog / Description

  • Renamed docker-image.yml to build-publish-image.yml to reflect it now publishes to two registries
  • Added AWS OIDC auth (aws-actions/configure-aws-credentials + amazon-ecr-login)
  • Image is now built once (multi-arch: linux/amd64 + linux/arm64) and pushed to both Docker Hub and ECR (polymesh/polymesh-rest-api) in a single step, tagged by git ref and commit SHA in ECR
  • Pinned all actions to commit SHA (with version comments) instead of mutable tags, for supply-chain safety
  • Added provenance/sbom attestations and a timeout-minutes: 30 guard on the job

Checklist -

  • New Feature ?
  • Updated swagger annotation (if API structure is changed) ?
  • Unit Test (if possible) ?
  • Updated the Readme.md (if required) ?

@debelio debelio force-pushed the feat/ecr-dockerhub-publish-workflow branch from 19288ef to 27fee54 Compare July 7, 2026 11:41
@sonarqubecloud

sonarqubecloud Bot commented Jul 7, 2026

Copy link
Copy Markdown

@debelio

debelio commented Jul 7, 2026

Copy link
Copy Markdown
Contributor Author

/fast-forward

@polymesh-bot polymesh-bot merged commit 27fee54 into master Jul 7, 2026
10 checks passed
@polymesh-bot polymesh-bot deleted the feat/ecr-dockerhub-publish-workflow branch July 7, 2026 12:57
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.

3 participants