Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
anonymizer
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Redmine
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
nlpworkers
anonymizer
Commits
d5f7a591
Commit
d5f7a591
authored
1 year ago
by
Paweł Walkowiak
Browse files
Options
Downloads
Patches
Plain Diff
Add v2 build
parent
0456a3f2
No related merge requests found
Pipeline
#14512
failed with stages
in 49 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+13
-1
13 additions, 1 deletion
.gitlab-ci.yml
with
13 additions
and
1 deletion
.gitlab-ci.yml
+
13
−
1
View file @
d5f7a591
...
...
@@ -3,6 +3,7 @@ stages:
-
check_style
-
test
-
build
-
build_v2
before_script
:
-
pip install tox==4.5.1
...
...
@@ -41,4 +42,15 @@ build_image:
-
docker image tag $DOCKERHUB_NAME $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG
-
docker image tag $DOCKERHUB_NAME $CI_REGISTRY_IMAGE:latest
-
docker push $CI_REGISTRY_IMAGE
\ No newline at end of file
build_v2
:
stage
:
build_v2
image
:
'
docker:18.09.7'
only
:
-
v2
services
:
-
'
docker:18.09.7-dind'
script
:
-
docker build -t $CI_REGISTRY_IMAGE:v2 .
-
docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
-
docker push $CI_REGISTRY_IMAGE:v2
This diff is collapsed.
Click to expand it.
Preview
0%
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