Skip to content

Commit

Permalink
ci: improve snapshot published message (#5331)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmdeal authored Dec 15, 2023
1 parent 246a9b5 commit 42e6f8d
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/pr-snapshot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,12 @@ jobs:
issue_number: process.env.PR_NUMBER,
owner: context.repo.owner,
repo: context.repo.repo,
body: `Snapshot successfully published to "oci://${process.env.SNAPSHOT_ACCOUNT_ID}.ecr.${process.env.SNAPSHOT_REGION}.amazonaws.com/karpenter/snapshot/karpenter:v0-${process.env.PR_COMMIT}".`
body: `Snapshot successfully published to \`oci://${process.env.SNAPSHOT_ACCOUNT_ID}.dkr.ecr.${process.env.SNAPSHOT_REGION}.amazonaws.com/karpenter/snapshot/karpenter:v0-${process.env.PR_COMMIT}\`.
To install you must login to the ECR repo with an AWS account:
~~~
aws ecr get-login-password --region ${process.env.SNAPSHOT_REGION} | docker login --username AWS --password-stdin ${process.env.SNAPSHOT_ACCOUNT_ID}.dkr.ecr.${process.env.SNAPSHOT_REGION}.amazonaws.com
~~~
`
})
- if: always()
uses: ./.github/actions/commit-status/end
Expand Down

0 comments on commit 42e6f8d

Please sign in to comment.