From 6299e601019ef05f02c49f43a509b1db6cc40ada Mon Sep 17 00:00:00 2001 From: Paul Zehner Date: Tue, 23 Jan 2024 17:49:44 +0100 Subject: [PATCH] Fix save image step and restrict to create images for native target only --- .github/workflows/cmake.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index d097f149..b24dcae0 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -123,7 +123,8 @@ jobs: cmake --build build -j 2 - name: Save image - run: docker commit nvidia_base ghcr.io/cexa-project/kokkos-fft/kokkos_fft_${{ matrix.backend.name }} + run: docker commit ghcr.io/cexa-project/kokkos-fft/base_${{ matrix.backend.name }} ghcr.io/cexa-project/kokkos-fft/kokkos_fft_${{ matrix.backend.name }} + if: ${{ matrix.target.name }} == "native" - name: Install run: | @@ -132,3 +133,4 @@ jobs: - name: Push image run: docker push ghcr.io/cexa-project/kokkos-fft/kokkos_fft_${{ matrix.backend.name }} + if: ${{ matrix.target.name }} == "native"