Commit bf51f728 authored by echel0n's avatar echel0n

Update .gitlab-ci.yml

parent 560357a4
......@@ -2,7 +2,7 @@ before_script:
- apk add --no-cache py-pip
variables:
CONTAINER_IMAGE: sickrage/sickrage:$(cat sickrage/version.txt)
CONTAINER_IMAGE: sickrage/sickrage:$(cat /SiCKRAGE/sickrage/version.txt)
CONTAINER_IMAGE_LATEST: sickrage/sickrage:latest
DOCKER_DRIVER: overlay2
......@@ -15,6 +15,7 @@ build:
stage: build
image: docker:latest
script:
- echo $CONTAINER_IMAGE
- echo -n $CI_REGISTRY_PASSWORD | docker login -u "$CI_REGISTRY_USER" --password-stdin
- docker build --network host -t $CONTAINER_IMAGE_LATEST .
- docker tag ${CONTAINER_IMAGE} ${CONTAINER_IMAGE_LATEST}
......
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