Commit def0213d authored by echel0n's avatar echel0n
Browse files

Updated .gitlab-ci.yml

parent ba167b1f
......@@ -6,7 +6,7 @@ services:
before_script:
- apk add --no-cache py-pip
- pip install docker-compose
- echo "$CI_REGISTRY_PASSWORD" | docker login -u "$CI_REGISTRY_USER" --password-stdin
- echo -n "$CI_REGISTRY_PASSWORD" | docker login -u "$CI_REGISTRY_USER" --password-stdin
build-master:
stage: build
......@@ -14,10 +14,12 @@ build-master:
- docker build \
--build-arg BUILD_DATE=`date -u +"%Y-%m-%dT%H:%M:%SZ"` \
--build-arg VERSION=`cat sickrage/version.txt` \
--squash --pull -t "$CI_PROJECT_NAMESPACE"/"$CI_PROJECT_NAME":latest .
- docker push "$CI_PROJECT_NAMESPACE"/"$CI_PROJECT_NAME":latest
--squash --pull -t "sickrage/sickrage":latest .
- docker push "sickrage/sickrage":latest
only:
- master
except:
- tags
build-dev:
stage: build
......@@ -25,7 +27,8 @@ build-dev:
- docker build \
--build-arg BUILD_DATE=`date -u +"%Y-%m-%dT%H:%M:%SZ"` \
--build-arg VERSION=`cat sickrage/version.txt` \
--squash --pull -t "$CI_PROJECT_NAMESPACE"/"$CI_PROJECT_NAME":"$CI_COMMIT_REF_SLUG" .
- docker push "$CI_PROJECT_NAMESPACE"/"$CI_PROJECT_NAME":"$CI_COMMIT_REF_SLUG"
--squash --pull -t "sickrage/sickrage":"$CI_COMMIT_REF_SLUG" .
- docker push "sickrage/sickrage":"$CI_COMMIT_REF_SLUG"
except:
- master
\ No newline at end of file
- master
- tags
\ No newline at end of file
# Changelog
- * b07227d - 2018-10-15: Release v9.3.91
- * 055b4a4 - 2018-10-15: Updated .gitlab-ci.yml
- * 4500af0 - 2018-10-15: Release v9.3.91
- * b226cf4 - 2018-10-15: Updated .gitlab-ci.yml
- * b4d3c18 - 2018-10-15: Release v9.3.90
- * 70b40c6 - 2018-10-15: Updated .gitignore
......
Supports Markdown
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