From abc5a6ffabf2e26e38cd8480cc33f96f17f5525a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Micha=C5=82=20Pogoda?= <mipo57@e-science.pl>
Date: Mon, 19 Jun 2023 08:01:36 +0200
Subject: [PATCH] fix gitlab ci

---
 .gitlab-ci.yml | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 5d7c443..ec69e05 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -3,23 +3,26 @@ cache:
   paths:
     - .tox
 stages:
-  # - check_style
+  - check_style
   - build
 before_script:
   - pip install tox==2.9.1
+
 pep8:
   stage: check_style
   script:
     - tox -v -e pep8
+
 docstyle:
   stage: check_style
   script:
     - tox -v -e docstyle
+
 build_image:
   stage: build
   image: 'docker:18.09.7'
   only:
-    - develop
+    - master
   services:
     - 'docker:18.09.7-dind'
   variables:
@@ -31,9 +34,7 @@ build_image:
     - echo $DOCKER_PASSWORD > pass.txt
     - cat pass.txt | docker login --username $DOCKER_USERNAME --password-stdin
     - rm pass.txt
-    # - docker push $DOCKERHUB_NAME
     - docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
     - docker image tag $DOCKERHUB_NAME $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG
-    # - docker image tag $DOCKERHUB_NAME $CI_REGISTRY_IMAGE:develop
     - docker push $CI_REGISTRY_IMAGE
-
+  
\ No newline at end of file
-- 
GitLab