mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-06 12:20:52 +01:00
The AWS ECR login step needs `id-token: write` permissions. We move the steps to get OIDC-based credentials from `_rocm-test.yml` to `setup-rocm.yml`. This lays the groundwork to enable access to AWS ECR in workflows in other repos such as torchtitan that use [linux_job_v2.yml](https://github.com/pytorch/test-infra/blob/main/.github/workflows/linux_job_v2.yml), which also uses [setup-rocm.yml](
|
||
|---|---|---|
| .. | ||
| common.yml.j2 | ||
| linux_binary_build_workflow.yml.j2 | ||
| macos_binary_build_workflow.yml.j2 | ||
| upload.yml.j2 | ||
| windows_binary_build_workflow.yml.j2 | ||