Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ jobs:
name: Build ${{ inputs.native_package_type }} packages
runs-on: ${{ github.repository_owner == 'ROCm' && inputs.build_runs_on || 'ubuntu-24.04' }}
container:
image: ghcr.io/rocm/no_rocm_image_ubuntu24_04:latest
image: ghcr.io/rocm/no_rocm_image_ubuntu24_04@sha256:15241d0e87bf81fe0986006ab832a36ea53a2cda0f9a31b4a5dc7826bc2396b6
outputs:
package_repository_url: ${{ steps.upload-packages.outputs.package_repository_url }}
summary: ${{ steps.summary.outputs.summary }}
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/multi_arch_build_tarballs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,8 @@ jobs:
name: Build Tarballs
runs-on: ${{ github.repository_owner == 'ROCm' && inputs.build_runs_on || 'ubuntu-24.04' }}
container:
image: python:3.12-slim
# https://hub.docker.com/_/python/tags?name=3.12-slim
image: python:3.12-slim@sha256:f77ac9e44ae96ef2c90b8053ea08c31f8be030f824196b0ae4db6d462c84e51f
permissions:
contents: read
id-token: write
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/multi_arch_ci_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@ jobs:
contents: read
id-token: write
container:
image: python:3.12-slim
# https://hub.docker.com/_/python/tags?name=3.12-slim
image: python:3.12-slim@sha256:f77ac9e44ae96ef2c90b8053ea08c31f8be030f824196b0ae4db6d462c84e51f
steps:
- name: Checking out repository
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/test_artifacts_structure.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,8 @@ jobs:
name: "Validate artifact structure"
runs-on: ${{ github.repository_owner == 'ROCm' && inputs.build_runs_on || 'ubuntu-24.04' }}
container:
image: python:3.12-slim
# https://hub.docker.com/_/python/tags?name=3.12-slim
image: python:3.12-slim@sha256:f77ac9e44ae96ef2c90b8053ea08c31f8be030f824196b0ae4db6d462c84e51f
env:
ARTIFACT_GITHUB_REPO: ${{ inputs.artifact_github_repo }}
ARTIFACT_RUN_ID: "${{ inputs.artifact_run_id != '' && inputs.artifact_run_id || github.run_id }}"
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/test_native_linux_packages_install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,9 @@ jobs:
fail-fast: false
runs-on: ${{ github.repository_owner == 'ROCm' && (inputs.test_runs_on || 'linux-gfx942-1gpu-ccs-csp-ossci-rocm') || 'ubuntu-24.04' }}
container:
image: ${{ needs.prepare_install_context.outputs.container_image }}
# get_url_repo_params.py manages image references for each OS profile.
# zizmor cannot inspect the dynamically selected image.
image: ${{ needs.prepare_install_context.outputs.container_image }} # zizmor: ignore[unpinned-images]
# GPU options from prepare_install_context — see comment there for why this
# is dynamic across os_profile (multi-OS install matrix, SLES /etc/group).
options: ${{ needs.prepare_install_context.outputs.container_gpu_options }}
Expand Down
2 changes: 2 additions & 0 deletions build_tools/packaging/linux/get_url_repo_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -555,6 +555,8 @@ def cmd_extract_gfx_arch(args: argparse.Namespace) -> int:
# Maps OS profile prefixes to container images (checked in order; first match wins).
# Single-profile entries (e.g. "rhel8") require an exact match so "rhel10" does not
# match the "rhel8" prefix via startswith.
# TODO: Centralize these floating image references with the other consumers.
# See https://github.com/ROCm/TheRock/pull/7683 for example.
_OS_PROFILE_TO_IMAGE: list[tuple[tuple[str, ...], str]] = [
(("sles",), "registry.suse.com/bci/bci-base:16.0"),
(("ubuntu", "debian"), "ghcr.io/rocm/no_rocm_image_ubuntu24_04:latest"),
Expand Down
Loading