Skip to content
Snippets Groups Projects
Commit dc55ae1f authored by Andrej Ramašeuski's avatar Andrej Ramašeuski
Browse files

Push

parent 6ef957d1
Branches
No related tags found
No related merge requests found
image: docker:19.03.1 image: docker:19.03.1
variables: variables:
DOCKER_TLS_CERTDIR: "/certs" DOCKER_TLS_CERTDIR: "/certs"
IMAGE_TAG: $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG
services: services:
- docker:19.03.1-dind - docker:19.03.1-dind
before_script: before_script:
...@@ -8,4 +9,7 @@ before_script: ...@@ -8,4 +9,7 @@ before_script:
build: build:
stage: build stage: build
script: script:
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
- docker build -t $IMAGE_TAG .
- docker push $IMAGE_TAG
- docker build -t rvvote:0.2 . - docker build -t rvvote:0.2 .
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment