Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
Pipeline #80 passed
...@@ -8,7 +8,7 @@ workflow: ...@@ -8,7 +8,7 @@ workflow:
rules: rules:
- if: $CI_PIPELINE_SOURCE == "merge_request_event" - if: $CI_PIPELINE_SOURCE == "merge_request_event"
- if: $CI_COMMIT_TAG - if: $CI_COMMIT_TAG
- if: $CI_PIPELINE_SOURCE == "push" - if: $CI_COMMIT_BRANCH
variables: variables:
...@@ -20,13 +20,14 @@ stages: ...@@ -20,13 +20,14 @@ stages:
Build pythonForPandocFilter docker image: Build pythonForPandocFilter docker image:
stage: build stage: build
before_script: cd pandocFilter before_script: cd pandocFilter
script: docker build --tag pandocFilter:latest -f dockerfile . script: docker build --tag pandocfilter:latest -f dockerfile .
rules: rules:
- if: $CI_PIPELINE_SOURCE == "push" - if: $CI_COMMIT_BRANCH
changes: changes:
- pandocFilter/dockerfile - pandocFilter/dockerfile
- pandocFilter/setup.py - pandocFilter/setup.py
- pandocFilter/requirements.txt - pandocFilter/requirements.txt
- pandocFilter/pandocFilter.py
Word CR text: Word CR text:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment