Commit 0375cddd authored by Marek Ostaszewski's avatar Marek Ostaszewski
Browse files

Merge branch 'pin-versions' into 'master'

Pin docker image versions

See merge request !212
parents fd98be52 8595224d
......@@ -3,7 +3,7 @@ stages:
- deploy
convert:
image: python
image: python:3.8.4-buster
stage: convert
rules:
- if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
......@@ -18,7 +18,7 @@ convert:
commit:
image:
name: alpine/git:latest
name: alpine/git:v2.26.2
entrypoint: [""]
stage: deploy
rules:
......@@ -33,7 +33,7 @@ commit:
- git branch -D tmpBranch || true
- git checkout -b tmpBranch
- git add --all
- git commit -m "Update models"
- git commit -m "Update models" || true
- git checkout $CI_COMMIT_REF_NAME
- git pull origin $CI_COMMIT_REF_NAME
- git merge tmpBranch --ff
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment