Skip to content

Commit 947e403

Browse files
committed
fix: resolve AMD image paths after runner assignment
在步骤级解析临时目录,避免作业环境引用不可用的 runner 上下文。
1 parent 9fc4ed5 commit 947e403

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

‎.github/workflows/amd-image-preflight.yml‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@ jobs:
2020
runs-on: ubuntu-24.04
2121
timeout-minutes: 20
2222
env:
23-
IMAGE_DIR: ${{ runner.temp }}/amd-exporter-image
24-
OUTPUT_DIR: ${{ runner.temp }}/amd-exporter-squash
2523
ARCHIVE_NAME: device-metrics-exporter-v1.5.4-10.2.0a20261001.tar.gz
2624
ARCHIVE_SHA256: 0ba397bc31abc1c538e24f8d7264fb421cc5fb8dd59b2e1c493a8efec404c2ba
2725
IMAGE_REF: rocm/device-metrics-exporter:10.2.0a20261001
@@ -44,6 +42,9 @@ jobs:
4442
path: ${{ runner.temp }}/amd-exporter-image
4543

4644
- name: Verify and convert image without starting the container
45+
env:
46+
IMAGE_DIR: ${{ runner.temp }}/amd-exporter-image
47+
OUTPUT_DIR: ${{ runner.temp }}/amd-exporter-squash
4748
run: |
4849
set -eo pipefail
4950
source inferencex-e2e/benchmarks/benchmark_lib.sh --validation-only

0 commit comments

Comments
 (0)