Skip to content

Commit

Permalink
test if file change detected
Browse files Browse the repository at this point in the history
  • Loading branch information
ktmeaton committed Oct 9, 2020
1 parent 77f5694 commit 7a9d0d4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
*.yaml
- name: build docker image - plot
if: steps.git-diff.outputs.diff
if: steps.git-diff.outputs.diff =~ "workflow/envs/plot.yaml"
run:
cd workflow/envs/plot;
docker build --no-cache . -t ktmeaton/plague-phylogeography:plot;
Expand Down
6 changes: 4 additions & 2 deletions workflow/envs/plot/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,7 @@ FROM continuumio/miniconda3
LABEL authors="Katherine Eaton" \
description="Docker image containing dependencies for plague-phylogeography: plot."
COPY plot.yaml /
RUN conda install -c conda-forge mamba && mamba env create -f /plot.yaml && conda clean -a
ENV PATH /opt/conda/envs/plague-phylogeography-plot/bin:$PATH
RUN conda install -c conda-forge mamba; \
mamba env create -f /plot.yaml; \
conda clean -a; \
echo "source activate plague-phylogeography-plot" > ~/.bashrc;

0 comments on commit 7a9d0d4

Please sign in to comment.