Skip to content

Commit

Permalink
chore(ci): publish tagged homedir env images (#395)
Browse files Browse the repository at this point in the history
Co-authored-by: Rok Roškar <[email protected]>
  • Loading branch information
olevski and rokroskar authored Oct 30, 2023
1 parent 7941b9c commit aaf36ad
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build-and-push-to-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,8 @@ jobs:
images: ${{ env.DOCKER_PREFIX }}-py-homedir-envs
tags: |
type=sha,prefix=${{ matrix.BASE_PYTHON_VERSION }}-
type=semver,pattern={{version}},prefix=${{ matrix.BASE_PYTHON_VERSION }}-
type=raw,value=latest,enable=${{ github.ref == 'refs/heads/main' && matrix.BASE_PYTHON_VERSION == env.DEFAULT_PYTHON_VERSION }}
- name: Build and load
uses: docker/build-push-action@v5
with:
Expand Down
5 changes: 3 additions & 2 deletions docker/py/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -108,5 +108,6 @@ COPY --chown=1000:100 --from=builder /opt/conda /opt/conda
COPY --chown=1000:100 --from=builder "$HOME/.renku" "$HOME/.renku"
RUN ln -s "$HOME/.renku/venv/bin/renku" "$HOME/.renku/bin/renku" && \
ln -s "$HOME/.renku/venv/bin/_toil_worker" "$HOME/.renku/bin/"
ARG CONDA_ENVS_DIRS=/opt/conda/envs
ENV CONDA_ENVS_DIRS=${CONDA_ENVS_DIRS}

ARG CONDA_ENVS_DIRS
ENV CONDA_ENVS_DIRS=${CONDA_ENVS_DIRS:-/opt/conda/envs}

0 comments on commit aaf36ad

Please sign in to comment.