diff --git a/.github/workflows/build-user-image.yml b/.github/workflows/build-user-image.yml index d5298521..02a6f693 100644 --- a/.github/workflows/build-user-image.yml +++ b/.github/workflows/build-user-image.yml @@ -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 diff --git a/docker/dev/Dockerfile b/docker/dev/Dockerfile index c1f25e7b..b79dc57e 100644 --- a/docker/dev/Dockerfile +++ b/docker/dev/Dockerfile @@ -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