Skip to content
Snippets Groups Projects
Commit d83a4248 authored by Todor Kondić's avatar Todor Kondić
Browse files

.gitlab-ci: Update. Add isb401 pipe.

parent a530be0e
No related branches found
No related tags found
No related merge requests found
Pipeline #69260 passed
...@@ -33,6 +33,8 @@ variables: ...@@ -33,6 +33,8 @@ variables:
DOCKER_TLS_CERTDIR: "/certs" DOCKER_TLS_CERTDIR: "/certs"
CONTAINER_TEST_IMAGE: $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG CONTAINER_TEST_IMAGE: $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG
CONTAINER_RELEASE_IMAGE: $CI_REGISTRY_IMAGE:$CI_COMMIT_TAG CONTAINER_RELEASE_IMAGE: $CI_REGISTRY_IMAGE:$CI_COMMIT_TAG
CONTAINER_TEST_ISB401_IMAGE: $CI_REGISTRY_IMAGE:isb401_$CI_COMMIT_REF_SLUG
CONTAINER_RELEASE_ISB401_IMAGE: $CI_REGISTRY_IMAGE:isb401_$CI_COMMIT_TAG
build: build:
tags: tags:
...@@ -47,6 +49,15 @@ build: ...@@ -47,6 +49,15 @@ build:
- docker build --pull -t $CONTAINER_TEST_IMAGE . - docker build --pull -t $CONTAINER_TEST_IMAGE .
- docker push $CONTAINER_TEST_IMAGE - docker push $CONTAINER_TEST_IMAGE
build-isb401:
tags:
- docker
- $RUNNER_TAG
stage: build
script:
- cp docker/isb401/Dockerfile .
- docker build --pull -t $CONTAINER_TEST_ISB401_IMAGE .
- docker push $CONTAINER_TEST_ISB401_IMAGE
test: test:
tags: tags:
...@@ -57,6 +68,15 @@ test: ...@@ -57,6 +68,15 @@ test:
- docker pull $CONTAINER_TEST_IMAGE - docker pull $CONTAINER_TEST_IMAGE
- docker run $CONTAINER_TEST_IMAGE test - docker run $CONTAINER_TEST_IMAGE test
test-isb401:
tags:
- docker
- $RUNNER_TAG
stage: test
script:
- docker pull $CONTAINER_TEST_ISB401_IMAGE
- docker run $CONTAINER_TEST_ISB401_IMAGE test
release-image: release-image:
tags: tags:
- docker - docker
...@@ -68,3 +88,16 @@ release-image: ...@@ -68,3 +88,16 @@ release-image:
- docker push $CONTAINER_RELEASE_IMAGE - docker push $CONTAINER_RELEASE_IMAGE
rules: rules:
- if: $CI_COMMIT_TAG =~ /^v[0-9]+.[0-9]+.[0-9]+/ - if: $CI_COMMIT_TAG =~ /^v[0-9]+.[0-9]+.[0-9]+/
release-isb401:
tags:
- docker
- $RUNNER_TAG
stage: release
script:
- docker pull $CONTAINER_TEST_ISB401_IMAGE
- docker tag $CONTAINER_TEST_ISB401_IMAGE $CONTAINER_RELEASE_ISB401_IMAGE
- docker push $CONTAINER_RELEASE_ISB401_IMAGE
rules:
- if: $CI_COMMIT_TAG =~ /^v[0-9]+.[0-9]+.[0-9]+/
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment