Commit 4702387b authored by Miguel Angel Reina Ortega's avatar Miguel Angel Reina Ortega
Browse files

Adding python script for rebuilding the docker image

parent d1a90d89
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -8,7 +8,7 @@ workflow:
  rules:
    - if: $CI_PIPELINE_SOURCE == "merge_request_event"
    - if: $CI_COMMIT_TAG
    - if: $CI_PIPELINE_SOURCE == "push"
    - if: $CI_COMMIT_BRANCH
    
variables:

@@ -20,13 +20,14 @@ stages:
Build pythonForPandocFilter docker image:
  stage: build
  before_script: cd pandocFilter
  script: docker build --tag pandocFilter:latest -f dockerfile .
  script: docker build --tag pandocfilter:latest -f dockerfile .
  rules:
    - if: $CI_PIPELINE_SOURCE == "push"
    - if: $CI_COMMIT_BRANCH
      changes:
        - pandocFilter/dockerfile
        - pandocFilter/setup.py
        - pandocFilter/requirements.txt
        - pandocFilter/pandocFilter.py

        
Word CR text: