Commit 0023556f authored by George Papathanail's avatar George Papathanail
Browse files

Edit .gitlab-ci.yml

parent 3b9efa0f
Loading
Loading
Loading
Loading
Loading
+4 −0
Changes for .gitlab-ci.yml: 4 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -10,6 +10,8 @@ before_script:

build:
  stage: build
  tags:
    - shell
  script:
    - docker build -t $CI_REGISTRY_IMAGE:$IMAGE_TAG .
  only:
@@ -17,6 +19,8 @@ build:

push:
  stage: push
  tags:
    - shell
  script:
    - echo "$CI_REGISTRY_PASSWORD" | docker login -u "$CI_REGISTRY_USER" $CI_REGISTRY --password-stdin
    - docker push $CI_REGISTRY_IMAGE:$IMAGE_TAG