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
af3fe849
Commit
af3fe849
authored
Nov 25, 2025
by
Bhavani
Browse files
cicd updated
parent
f7dd7209
Pipeline
#12293
passed with stages
in 39 seconds
Changes
1
Pipelines
2
Show whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
af3fe849
...
@@ -46,13 +46,13 @@ build:
...
@@ -46,13 +46,13 @@ 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 --build-arg DISCORD_TOKEN="$DISCORD_TOKEN"
-
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"'
when
:
never
when
:
never
###########################
###########################
# 4. DEPLOY (PUSH TO DOCKERHUB)
# 4. DEPLOY (PUSH TO DOCKERHUB)
###########################
###########################
...
...
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