Commit b576283f authored by Benavides Ontiveros's avatar Benavides Ontiveros
Browse files

add manual condition

parent f81880e3
Pipeline #12274 failed
include:
- local: '.gitlab-ci-ingest.yml'
workflow:
rules:
- when: manual # <-- First pipeline is now manual-only
stages:
- lint
- test
......@@ -158,4 +162,9 @@ deploy:
- reddit
script:
- echo "$DOCKER_TOKEN" | docker login -u "$DOCKER_USERNAME" --password-stdin
- docker push $DOCKERHUB
\ No newline at end of file
- docker push $DOCKERHUB_REPO:$CI_COMMIT_SHORT_SHA
- |
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
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment