Commit 901acee
authored
Add sign-public-ecr-image job to release workflow (#1362)
## Summary
Backports the `sign-public-ecr-image` job from
[aws-otel-python-instrumentation
release/v0.14.x](https://github.com/aws-observability/aws-otel-python-instrumentation/blob/release/v0.14.x/.github/workflows/release-build.yml)
to the Java instrumentation release workflow.
## Changes
Added `sign-public-ecr-image` job in
`.github/workflows/release-build.yml` that:
1. Configures AWS credentials using `AWS_ASSUME_ROLE_ARN_RELEASE`
2. Installs notation CLI with AWS Signer plugin
3. Queries `ADOTECRSigningProfile` signing profile ARN (gracefully skips
if not found)
4. Logs in to public ECR and signs the released image
`PUBLIC_REPOSITORY:v$VERSION`
The job runs after `publish-sdk` which pushes the multi-arch image to
public ECR.1 parent 3b291db commit 901acee
1 file changed
Lines changed: 50 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
528 | 528 | | |
529 | 529 | | |
530 | 530 | | |
| 531 | + | |
| 532 | + | |
| 533 | + | |
| 534 | + | |
| 535 | + | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
| 542 | + | |
| 543 | + | |
| 544 | + | |
| 545 | + | |
| 546 | + | |
| 547 | + | |
| 548 | + | |
| 549 | + | |
| 550 | + | |
| 551 | + | |
| 552 | + | |
| 553 | + | |
| 554 | + | |
| 555 | + | |
| 556 | + | |
| 557 | + | |
| 558 | + | |
| 559 | + | |
| 560 | + | |
| 561 | + | |
| 562 | + | |
| 563 | + | |
| 564 | + | |
| 565 | + | |
| 566 | + | |
| 567 | + | |
| 568 | + | |
| 569 | + | |
| 570 | + | |
| 571 | + | |
| 572 | + | |
| 573 | + | |
| 574 | + | |
| 575 | + | |
| 576 | + | |
| 577 | + | |
| 578 | + | |
| 579 | + | |
| 580 | + | |
0 commit comments