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

pokus o push

parent f4915fe0
No related branches found
No related tags found
No related merge requests found
Pipeline #12 failed
...@@ -2,14 +2,16 @@ image: docker:19.03.1 ...@@ -2,14 +2,16 @@ 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:
- docker info - docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
build: build:
stage: build stage: build
script: script:
- docker build -t my-docker-image . - docker build -t my-docker-image .
- docker push $IMAGE_TAG
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment