Skip to content

Commit

Permalink
git clone
Browse files Browse the repository at this point in the history
  • Loading branch information
lecriste committed Nov 26, 2024
1 parent bd94a0f commit edeb998
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/on_tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,6 @@ jobs:
steps:
- name: Check out code
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Docker Hub Login
uses: docker/login-action@v3
Expand All @@ -50,3 +48,5 @@ jobs:
with:
push: true
tags: ${{ env.CI_REGISTRY_IMAGE }}:${{ env.REGISTRY_IMAGE_TAG }}
build-args: |
REF_NAME=${{ env.REGISTRY_IMAGE_TAG }}
12 changes: 7 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
FROM python:3.10-slim

ARG REF_NAME=main # Default to 'main' if REF_NAME is not passed

RUN apt-get update && \
DEBIAN_FRONTEND="noninteractive" TZ="Europe/Zurich" apt-get install -y tzdata && \
apt-get install -y --no-install-recommends \
Expand All @@ -12,17 +14,17 @@ RUN apt-get update && \

RUN apt-get -y install pip git vim

#RUN pwd
#RUN ls -a
#RUN git clone https://github.com/BlueBrain/bbp-atlas-pipeline.git@ /pipeline
RUN pwd
RUN ls -a
WORKDIR /pipeline
RUN git clone https://github.com/BlueBrain/bbp-atlas-pipeline.git@${REF_NAME} /pipeline
RUN pwd
RUN ls -a
COPY .. .
WORKDIR /pipeline
RUN pwd
RUN ls -a
#COPY .. .
#RUN pwd
#RUN ls -a

# Regiodesics
#RUN git clone https://bbpgitlab.epfl.ch/nse/archive/regiodesics && \
Expand Down

0 comments on commit edeb998

Please sign in to comment.