Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
frontend-vue-2
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Bioinformatics
frontend-vue-2
Commits
7550cac2
Commit
7550cac2
authored
1 year ago
by
Michal Petrovič
Browse files
Options
Downloads
Patches
Plain Diff
Update .gitlab-ci.yml file
parent
9d5f3ee1
Branches
Branches containing commit
2 merge requests
!3
Resolve "Z-DNA view error"
,
!1
Resolve "Move frontend to separate project"
Pipeline
#165177
passed with warnings with stage
in 18 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+9
-5
9 additions, 5 deletions
.gitlab-ci.yml
with
9 additions
and
5 deletions
.gitlab-ci.yml
+
9
−
5
View file @
7550cac2
...
...
@@ -44,9 +44,9 @@ code_quality_json:
docker-build-latest
:
stage
:
build
image
:
docker:git
#
only:
#
refs:
#
- main
only
:
refs
:
-
main
except
:
variables
:
-
$CI_COMMIT_TAG
...
...
@@ -71,6 +71,10 @@ docker-build-tag:
script
:
-
docker build -t $DOCKER_NAMESPACE/$PROJECT_NAME:$CI_COMMIT_TAG .
-
docker save -o build/image.tar $DOCKER_NAMESPACE/$PROJECT_NAME:$CI_COMMIT_TAG
artifacts
:
paths
:
-
build/image.tar
expire_in
:
10 mins
# Optional: Set an expiration time for the artifact
# ===========================================================================
...
...
@@ -88,8 +92,8 @@ docker-build-tag:
docker-push-latest
:
stage
:
publish
image
:
docker
#
only:
#
- main
only
:
-
main
before_script
:
-
docker login -u $DOCKER_USERNAME -p $DOCKER_TOKEN $DOCKER_REGISTRY
script
:
...
...
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