Skip to content

Commit

Permalink
Kokkos Kernels: adding SHA for github actions (kokkos#2221)
Browse files Browse the repository at this point in the history
* Kokkos Kernels: adding SHA for github actions

* Adding sha for docker images
  • Loading branch information
lucbv authored May 29, 2024
1 parent ee70433 commit 8dfcc19
Show file tree
Hide file tree
Showing 9 changed files with 15 additions and 15 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/bdw.yml
Original file line number Diff line number Diff line change
Expand Up @@ -188,12 +188,12 @@ jobs:

steps:
- name: checkout_kokkos_kernels
uses: actions/checkout@v3
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
with:
path: kokkos-kernels

- name: checkout_kokkos
uses: actions/checkout@v3
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
with:
repository: kokkos/kokkos
ref: ${{ github.base_ref }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@ jobs:
doxygen --version
- name: checkout_kokkos_kernels
uses: actions/checkout@v4
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v4.1.6
with:
path: kokkos-kernels

- name: checkout_kokkos
uses: actions/checkout@v4
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v4.1.6
with:
repository: kokkos/kokkos
ref: 4.3.00
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
clang-format-check:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v4.1.6

- name: Install Dependencies
run: sudo apt install clang-format-8
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/h100.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@ jobs:

steps:
- name: checkout_kokkos_kernels
uses: actions/checkout@v3
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
with:
path: kokkos-kernels

- name: checkout_kokkos
uses: actions/checkout@v3
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
with:
repository: kokkos/kokkos
ref: ${{ github.base_ref }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/mi210.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,12 +107,12 @@ jobs:

steps:
- name: checkout_kokkos_kernels
uses: actions/checkout@v4
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v4.1.6
with:
path: kokkos-kernels

- name: checkout_kokkos
uses: actions/checkout@v4
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v4.1.6
with:
repository: kokkos/kokkos
ref: ${{ github.base_ref }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/osx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,12 @@ jobs:

steps:
- name: checkout_kokkos_kernels
uses: actions/checkout@v4
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v4.1.6
with:
path: kokkos-kernels

- name: checkout_kokkos
uses: actions/checkout@v4
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v4.1.6
with:
repository: kokkos/kokkos
ref: 4.3.00
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/spr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@ jobs:

steps:
- name: checkout_kokkos_kernels
uses: actions/checkout@v4
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v4.1.6
with:
path: kokkos-kernels

- name: checkout_kokkos
uses: actions/checkout@v4
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v4.1.6
with:
repository: kokkos/kokkos
ref: ${{ github.base_ref }}
Expand Down
2 changes: 1 addition & 1 deletion scripts/docker/Dockerfile.hip
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG BASE=rocm/dev-ubuntu-20.04:5.2
ARG BASE=rocm/dev-ubuntu-20.04@sha256:f345894ae2d64c0d4676070301b0368599c504462bcb5934aa40f65357078c85 # 5.2
FROM $BASE

RUN apt-get update && apt-get install -y \
Expand Down
2 changes: 1 addition & 1 deletion scripts/docker/Dockerfile.sycl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG BASE=nvidia/cuda:11.7.1-devel-ubuntu22.04
ARG BASE=nvidia/cuda@sha256:38e59267704b5d91ef63c7d8f613359c629fab0aead1283d59ca7821029e73bc # 11.7.1-devel-ubuntu22.04
FROM $BASE

RUN apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/3bf863cc.pub
Expand Down

0 comments on commit 8dfcc19

Please sign in to comment.