Commit 7c6290cb authored by echel0n's avatar echel0n

Update .gitlab-ci.yml

parent bf51f728
......@@ -2,7 +2,7 @@ before_script:
- apk add --no-cache py-pip
variables:
CONTAINER_IMAGE: sickrage/sickrage:$(cat /SiCKRAGE/sickrage/version.txt)
CONTAINER_IMAGE: sickrage/sickrage
CONTAINER_IMAGE_LATEST: sickrage/sickrage:latest
DOCKER_DRIVER: overlay2
......@@ -18,8 +18,8 @@ build:
- 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}
- docker push ${CONTAINER_IMAGE}
- docker tag ${CONTAINER_IMAGE}:$(cat sickrage/version.txt) ${CONTAINER_IMAGE_LATEST}
- docker push ${CONTAINER_IMAGE}:$(cat sickrage/version.txt)
- docker push ${CONTAINER_IMAGE_LATEST}
only:
- master
......
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