Skip to content

Commit

Permalink
updated build-user-image workflow to be able to run on workflow-dispa…
Browse files Browse the repository at this point in the history
…tch 🐬
  • Loading branch information
lukas.gehrig committed Nov 7, 2023
1 parent 1875003 commit a963a50
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-user-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ env:
jobs:
build-and-push-image:
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'success' }}
if: ${{ (github.event.workflow_run.conclusion == 'success') || (github.event_name == 'workflow_dispatch') }}
permissions:
contents: read
packages: write
Expand Down
1 change: 1 addition & 0 deletions docker/dev/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ SHELL ["conda", "run", "-n", "base", "/bin/bash", "-c"]
RUN conda install -n base conda-libmamba-solver && \
conda config --set solver libmamba && \
conda create -y -n karabo
# create venv to not f*** up base-env in which libmamba solver lives
SHELL ["conda", "run", "-n", "karabo", "/bin/bash", "-c"]
RUN echo "conda activate karabo" >> ~/.bashrc
WORKDIR /workspace
Expand Down

0 comments on commit a963a50

Please sign in to comment.