Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
nmaas Janitor
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
nmaas
nmaas Janitor
Commits
69b91b0d
Commit
69b91b0d
authored
3 months ago
by
Lukasz Lopatowski
Browse files
Options
Downloads
Plain Diff
Merge branch 'develop' into 'release/1.6.2'
Develop See merge request
!2
parents
a37328ad
b8b3ef3f
No related branches found
No related tags found
1 merge request
!2
Develop
Pipeline
#92622
passed
3 months ago
Stage: test
Stage: build
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+13
-0
13 additions, 0 deletions
.gitlab-ci.yml
with
13 additions
and
0 deletions
.gitlab-ci.yml
+
13
−
0
View file @
69b91b0d
...
...
@@ -42,6 +42,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
only
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment