Loading .gitlab-ci.yml +16 −0 Original line number Diff line number Diff line Loading @@ -2,6 +2,7 @@ stages: - dev_image_build - dev_deploy - dev_workflows - develop_image_build - release - image_build Loading Loading @@ -81,6 +82,21 @@ dev_deploy_job: rules: - if: '$CI_PIPELINE_SOURCE == "merge_request_event"' develop_image_build_job: stage: develop_image_build tags: - hypo image: name: labs.etsi.org:5050/osl/hypo/code/org.etsi.osl.hypo.ops/cicd/integration.tests/docker:29.1.3 before_script: - docker info > /dev/null script: - echo -n $CI_REGISTRY_PASSWORD | docker login -u $CI_REGISTRY_USER --password-stdin $CI_REGISTRY - docker buildx build --network host --pull -t $CI_REGISTRY/$CI_PROJECT_PATH/$IMAGE_NAME:latest . - docker push $CI_REGISTRY/$CI_PROJECT_PATH/$IMAGE_NAME:latest only: - develop semantic_versioning_job: image: labs.etsi.org:5050/osl/hypo/code/org.etsi.osl.hypo.ops/cicd/integration.tests/node:lts tags: Loading Loading
.gitlab-ci.yml +16 −0 Original line number Diff line number Diff line Loading @@ -2,6 +2,7 @@ stages: - dev_image_build - dev_deploy - dev_workflows - develop_image_build - release - image_build Loading Loading @@ -81,6 +82,21 @@ dev_deploy_job: rules: - if: '$CI_PIPELINE_SOURCE == "merge_request_event"' develop_image_build_job: stage: develop_image_build tags: - hypo image: name: labs.etsi.org:5050/osl/hypo/code/org.etsi.osl.hypo.ops/cicd/integration.tests/docker:29.1.3 before_script: - docker info > /dev/null script: - echo -n $CI_REGISTRY_PASSWORD | docker login -u $CI_REGISTRY_USER --password-stdin $CI_REGISTRY - docker buildx build --network host --pull -t $CI_REGISTRY/$CI_PROJECT_PATH/$IMAGE_NAME:latest . - docker push $CI_REGISTRY/$CI_PROJECT_PATH/$IMAGE_NAME:latest only: - develop semantic_versioning_job: image: labs.etsi.org:5050/osl/hypo/code/org.etsi.osl.hypo.ops/cicd/integration.tests/node:lts tags: Loading