From 3d2ab0ff888a3c1970b504257011152619caed0c Mon Sep 17 00:00:00 2001 From: Flora Thiebaut Date: Tue, 15 Oct 2024 14:58:47 +0200 Subject: [PATCH 1/3] build: fix dependencies and use cache (#1) --- .github/workflows/build.yaml | 2 ++ Dockerfile | 4 ++-- environment.yml | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 2215a7a..03d92bf 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -41,3 +41,5 @@ jobs: push: true tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} + cache-from: type=gha + cache-to: type=gha,mode=max diff --git a/Dockerfile b/Dockerfile index 4878767..174394a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ ######################################################## # Renku install section - do not edit # -FROM renku/renkulab-py:3.10-0.22.0 as builder +FROM renku/renkulab-py:3.10-0.24.0 as builder # RENKU_VERSION determines the version of the renku CLI # that will be used in this image. To find the latest version, @@ -25,7 +25,7 @@ RUN if [ -n "$RENKU_VERSION" ] ; then \ # End Renku install section # ######################################################## -FROM renku/renkulab-py:3.10-0.22.0 +FROM renku/renkulab-py:3.10-0.24.0 # Uncomment and adapt if code is to be included in the image # COPY src /code/src diff --git a/environment.yml b/environment.yml index 03aa8c3..db7c4c3 100644 --- a/environment.yml +++ b/environment.yml @@ -15,7 +15,7 @@ dependencies: - scipy - scikit-learn - plotly - - torch + - pytorch - transformers - pytorch-lightning - matplotlib From 3a98e01d7537d28b071acf81da75651d3f314cb0 Mon Sep 17 00:00:00 2001 From: Flora Thiebaut Date: Tue, 15 Oct 2024 15:00:09 +0200 Subject: [PATCH 2/3] build: fix cache use (#2) --- .github/workflows/build.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 03d92bf..576a035 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -17,6 +17,8 @@ jobs: - uses: actions/checkout@v4 with: fetch-depth: 0 + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v3 - name: Docker image metadata id: meta uses: docker/metadata-action@v5 From c654324011889c89562e3145e05777b4f55a8653 Mon Sep 17 00:00:00 2001 From: Flora Thiebaut Date: Tue, 15 Oct 2024 16:02:49 +0200 Subject: [PATCH 3/3] build: no provenance (#3) --- .github/workflows/build.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 576a035..8b3bb96 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -45,3 +45,4 @@ jobs: labels: ${{ steps.meta.outputs.labels }} cache-from: type=gha cache-to: type=gha,mode=max + provenance: false