From 537a4b6af6c9f42716ad928583ee89d34cba3ec0 Mon Sep 17 00:00:00 2001 From: Trevor Campbell Date: Wed, 30 Aug 2023 22:21:08 -0700 Subject: [PATCH] fix minor issue in action; trigger dockerfile export to env --- .github/workflows/update_environment.yml | 2 +- Dockerfile | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/update_environment.yml b/.github/workflows/update_environment.yml index 4e89432..6fd2362 100644 --- a/.github/workflows/update_environment.yml +++ b/.github/workflows/update_environment.yml @@ -17,7 +17,7 @@ jobs: fetch-depth: '0' ref: 'main' - name: Build the docker image - run: docker build -t local < Dockerfile + run: docker build -t local . - name: Generate the environment file run: docker run --rm -v $(pwd):/home/jovyan/work local mamba env export > environment.yml - name: Commit the updated env diff --git a/Dockerfile b/Dockerfile index 39d4324..9cecdd3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,3 +9,4 @@ COPY . ${HOME} USER root RUN chown -R ${NB_UID} ${HOME} USER ${NB_USER} +