Skip to content
Snippets Groups Projects
Verified Commit 893eaba1 authored by Quentin Duchemin's avatar Quentin Duchemin
Browse files

Source cache variables before pulling image

parent b7992421
No related branches found
No related tags found
1 merge request!44Optimize CI and remove deployment steps, add Mattermost and update Etherpad
Pipeline #51112 failed
......@@ -26,8 +26,8 @@ stages:
tags: [build]
before_script:
- echo $REGISTRY_PASSWORD | docker login $REGISTRY -u $REGISTRY_USERNAME --password-stdin
- docker pull $REGISTRY/ci-builds/$MODIFIED_IMAGE:$CI_COMMIT_SHA
- source variables
- docker pull $REGISTRY/ci-builds/$MODIFIED_IMAGE:$CI_COMMIT_SHA
# Build the base image used for all further steps : this is done only when pica-ci's Dockerfile is modified
pica-ci-base:
......
......@@ -46,7 +46,7 @@ RUN for PLUGIN_NAME in ${ETHERPAD_PLUGINS}; do npm install "${PLUGIN_NAME}"; don
sed -i 's|Untitled Pad|Nouveau pad|g' node_modules/ep_set_title_on_pad/templates/title.ejs && \
sed -i 's|Untitled Pad|Nouveau pad|g' node_modules/ep_set_title_on_pad/static/tests/frontend/specs/atest.js
# construction de l'image finale
# Construction de l'image finale
FROM base
ARG UID=5004
......@@ -62,7 +62,7 @@ RUN apt-get update && \
RUN useradd --uid ${UID} --create-home etherpad
# import des fichiers téléchargés dans l'image downloader
# Import des fichiers téléchargés dans l'image downloader
COPY --from=downloader --chown=etherpad /opt/etherpad-lite /opt/etherpad-lite/
WORKDIR /opt/etherpad-lite/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment