Skip to content
Snippets Groups Projects
Commit 1b0f7aa4 authored by Lukasz Lopatowski's avatar Lukasz Lopatowski
Browse files

Added CI job for building docker images for release branches

parent ad41c190
No related branches found
No related tags found
2 merge requests!41Revert "Merge branch '221-improve-sorting-in-the-application-list-view' into 'release/1.6.4'",!39release/1.6.4 into develop
......@@ -38,6 +38,19 @@ build_and_push_latest_image:
docker push $DOCKER_REPOSITORY_LOCAL:$IMAGE_TAG
docker logout $DOCKER_REPOSITORY
build_and_push_alfa_image:
stage: build
only:
- /^release/
script:
- |
export IMAGE_TAG=$(echo $CI_COMMIT_BRANCH | cut -c 9-)-alfa
docker image prune -f
docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD $DOCKER_REPOSITORY
docker build -t $DOCKER_REPOSITORY_LOCAL:$IMAGE_TAG .
docker push $DOCKER_REPOSITORY_LOCAL:$IMAGE_TAG
docker logout $DOCKER_REPOSITORY
build_and_push_release_image:
stage: build
image: korvoj/docker-git:26.1.3
......
......@@ -5,7 +5,7 @@ plugins {
id "org.sonarqube" version "3.2.0"
}
version = '1.6.3'
version = '1.6.4-SNAPSHOT'
task buildGUI(type: Exec) {
println 'Building using Angular CLI'
......
{
"name": "nmaas-portal",
"version": "1.6.3",
"version": "1.6.4",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "nmaas-portal",
"version": "1.6.3",
"version": "1.6.4",
"license": "Apache 2.0",
"dependencies": {
"@angular/animations": "15.2.10",
{
"name": "nmaas-portal",
"version": "1.6.3",
"version": "1.6.4",
"license": "Apache 2.0",
"angular-cli": {},
"scripts": {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment