Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(ci): publish tagged homedir env images #395

Merged
merged 6 commits into from
Oct 30, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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}
Loading