Skip to content
Snippets Groups Projects
Commit 0b17e4d1 authored by Emmanuel Bruno's avatar Emmanuel Bruno
Browse files

fixes typo.

parent 4b736768
No related branches found
No related tags found
No related merge requests found
...@@ -83,8 +83,8 @@ jobs: ...@@ -83,8 +83,8 @@ jobs:
push: ${{ github.event_name != 'pull_request' }} push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }} tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }} labels: ${{ steps.meta.outputs.labels }}
cache-from: type=registry,ref=${{ secrets.PRIVATEHUB_HOSTNAME }}/${{ env.REPOSITORY_NAME }}:buildcache cache-from: type=registry,ref=${{ secrets.PRIVATEHUB_HOSTNAME }}/${{ env.REPOSITORY_NAME }}:${{ env.GITHUB_REF_NAME }}-buildcache
cache-to: type=registry,ref=${{ secrets.PRIVATEHUB_HOSTNAME }}/${{ env.REPOSITORY_NAME }}:buildcache,mode=min,compression=zstd cache-to: type=registry,ref=${{ secrets.PRIVATEHUB_HOSTNAME }}/${{ env.REPOSITORY_NAME }}:${{ env.GITHUB_REF_NAME }}-buildcache,mode=min,compression=zstd
- name: Update repo description - name: Update repo description
uses: peter-evans/dockerhub-description@v3 uses: peter-evans/dockerhub-description@v3
......
...@@ -25,13 +25,13 @@ ENV CONDA_PKG_DIR=/opt/conda/pkgs/ ...@@ -25,13 +25,13 @@ ENV CONDA_PKG_DIR=/opt/conda/pkgs/
# We need to remove the default `docker-clean` to avoid cache cleaning # We need to remove the default `docker-clean` to avoid cache cleaning
RUN mkdir -p ${PIP_CACHE_DIR} && \ RUN mkdir -p ${PIP_CACHE_DIR} && \
rm -f /etc/apt/apt.conf.d/docker-clean && \ rm -f /etc/apt/apt.conf.d/docker-clean && \
echo "Dir::Cache::pkgcache ${APT_CACHE_DIR};" > /etc/apt/apt.conf.d/00-move-cache && \ #echo "Dir::Cache::pkgcache ${APT_CACHE_DIR};" > /etc/apt/apt.conf.d/00-move-cache && \
mkdir -p ${CONDA_PKG_DIR} && \ mkdir -p ${CONDA_PKG_DIR} && \
cat /etc/apt/apt.conf.d/00-move-cache cat /etc/apt/apt.conf.d/00-move-cache
COPY Artefacts/apt_packages /tmp/ COPY Artefacts/apt_packages /tmp/
RUN --mount=type=cache,target=${APT_CACHE_DIR},sharing=locked \ RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \
apt-get update && \ apt-get update && \
apt-get install -qq --yes --no-install-recommends \ apt-get install -qq --yes --no-install-recommends \
$(cat /tmp/apt_packages) && \ $(cat /tmp/apt_packages) && \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment