Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
software-project-WS25
Discord Team
Commits
37b2a9b4
Commit
37b2a9b4
authored
Nov 25, 2025
by
Bhavani
Browse files
cicd updated
parent
1bb2611c
Pipeline
#12140
failed with stages
in 31 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
37b2a9b4
...
@@ -11,7 +11,6 @@ variables:
...
@@ -11,7 +11,6 @@ variables:
###########################
###########################
# 1. LINT STAGE
# 1. LINT STAGE
###########################
###########################
lint
:
lint
:
stage
:
lint
stage
:
lint
image
:
python:3.10
image
:
python:3.10
...
@@ -47,7 +46,8 @@ build:
...
@@ -47,7 +46,8 @@ build:
tags
:
[
"
ubuntu"
,
"
vm"
]
tags
:
[
"
ubuntu"
,
"
vm"
]
script
:
script
:
-
echo "Building Docker image..."
-
echo "Building Docker image..."
-
docker build -t $DOCKERHUB_REPO:$CI_COMMIT_SHORT_SHA .
-
docker build -t $DOCKERHUB_REPO:$CI_COMMIT_SHORT_SHA --build-arg DISCORD_TOKEN = "$DISCORD_TOKEN" .
rules
:
rules
:
-
if
:
'
$CI_COMMIT_BRANCH'
-
if
:
'
$CI_COMMIT_BRANCH'
-
if
:
'
$CI_PIPELINE_SOURCE
==
"merge_request_event"'
-
if
:
'
$CI_PIPELINE_SOURCE
==
"merge_request_event"'
...
...
Write
Preview
Supports
Markdown
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!
Cancel
Please
register
or
sign in
to comment