Skip to content
Snippets Groups Projects
Commit 28414bc8 authored by derrabauke's avatar derrabauke
Browse files

try to get that container registry running

parent 0dec718d
No related branches found
No related tags found
No related merge requests found
......@@ -40,11 +40,18 @@ test_server:
- master # only for now to speed up dev
build_client:
before_script: docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
variables:
CLIENT_IMAGE_TAG: $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG
CLIENT_RELEASE_IMAGE_TAG: $CI_REGISTRY_IMAGE:latest
image: docker:19.03.12
services:
- docker:19.03.12-dind
stage: build
script:
- docker build -f app/client/Dockerfile -t ${}client:v0.0.1 .
- docker build -f app/client/Dockerfile -t $IMAGE_TAG .
- docker tag $CLIENT_IMAGE_TAG $CLIENT_RELEASE_IMAGE_TAG
- docker push $CLIENT_RELEASE_IMAGE_TAG
only:
- master
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment