Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
Django Core
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
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
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Tobias Mieves
Django Core
Commits
cb9e22dc
Commit
cb9e22dc
authored
1 year ago
by
Tobias Mieves
Browse files
Options
Downloads
Patches
Plain Diff
ci: Switch to central ci config
parent
db5b9da8
No related branches found
No related tags found
1 merge request
!36
Fix permission in docker
Pipeline
#226251
passed with warnings
1 year ago
Stage: build
Stage: lint
Stage: test
Stage: archive
Changes
1
Pipelines
2
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+3
-40
3 additions, 40 deletions
.gitlab-ci.yml
with
3 additions
and
40 deletions
.gitlab-ci.yml
+
3
−
40
View file @
cb9e22dc
stages
:
-
test
-
docker
-
release
variables
:
LICENSE_FINDER_CLI_OPTS
:
'
--recursive'
docker
:
stage
:
docker
image
:
docker:24
services
:
-
docker:dind
before_script
:
-
docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY
script
:
-
docker build -t $CI_REGISTRY_IMAGE:$CI_COMMIT_TAG -t $CI_REGISTRY_IMAGE:latest .
-
docker push $CI_REGISTRY_IMAGE:$CI_COMMIT_TAG
-
docker push $CI_REGISTRY_IMAGE:latest
only
:
-
tags
release
:
image
:
node:20-buster-slim
stage
:
release
before_script
:
-
apt-get update && apt-get install -y --no-install-recommends git-core ca-certificates
-
npm install -g semantic-release @semantic-release/gitlab @semantic-release/git @semantic-release/changelog @semantic-release/release-notes-generator
script
:
-
semantic-release
only
:
-
main
---
include
:
-
template
:
Dependency-Scanning.gitlab-ci.yml
-
template
:
Security/License-Scanning.gitlab-ci.yml
-
template
:
Security/SAST.gitlab-ci.yml
-
template
:
Secret-Detection.gitlab-ci.yml
-
template
:
Code-Quality.gitlab-ci.yml
\ No newline at end of file
-
project
:
tobiasff3200/ci-cd
file
:
.gitlab-ci.yml
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