Skip to content
Snippets Groups Projects
Commit 42818798 authored by Baruta Daniel Mihail's avatar Baruta Daniel Mihail
Browse files

Add docker build in CI

parent bb265074
No related branches found
No related tags found
No related merge requests found
image: docker:19.03.12
services:
- docker:19.03.12-dind
stages:
- build
- test
variables:
CONTAINER_RELEASE_IMAGE: $CI_REGISTRY_IMAGE:latest
before_script:
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
build:
stage: build
script:
- docker build --pull -t $CONTAINER_RELEASE_IMAGE .
- docker push $CONTAINER_RELEASE_IMAGE
checker:
stage: test
image:
name: jokeswar/perfect-assignment
name: $CONTAINER_RELEASE_IMAGE
script:
- echo ""
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