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
Reddit Team
Commits
b576283f
Commit
b576283f
authored
Dec 10, 2025
by
Benavides Ontiveros
Browse files
add manual condition
parent
f81880e3
Pipeline
#12274
failed
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
b576283f
include
:
include
:
-
local
:
'
.gitlab-ci-ingest.yml'
-
local
:
'
.gitlab-ci-ingest.yml'
workflow
:
rules
:
-
when
:
manual
# <-- First pipeline is now manual-only
stages
:
stages
:
-
lint
-
lint
-
test
-
test
...
@@ -158,4 +162,9 @@ deploy:
...
@@ -158,4 +162,9 @@ deploy:
-
reddit
-
reddit
script
:
script
:
-
echo "$DOCKER_TOKEN" | docker login -u "$DOCKER_USERNAME" --password-stdin
-
echo "$DOCKER_TOKEN" | docker login -u "$DOCKER_USERNAME" --password-stdin
-
docker push $DOCKERHUB
-
docker push $DOCKERHUB_REPO:$CI_COMMIT_SHORT_SHA
\ No newline at end of file
-
|
if [ "$CI_COMMIT_BRANCH" = "$CI_DEFAULT_BRANCH" ]; then
docker tag $DOCKERHUB_REPO:$CI_COMMIT_SHORT_SHA $DOCKERHUB_REPO:latest
docker push $DOCKERHUB_REPO:latest
fi
\ No newline at end of file
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