Commit 2043d6f0 authored by Benavides Ontiveros's avatar Benavides Ontiveros
Browse files

test deploy stage

parent 5b58267b
Pipeline #12254 canceled with stages
in 1 minute and 5 seconds
......@@ -139,6 +139,9 @@ build:
after_script:
- echo "Docker image built successfully!"
# =====================================================================
# DEPLOY
# =====================================================================
# =====================================================================
# DEPLOY
# =====================================================================
......@@ -149,6 +152,9 @@ deploy:
- ubuntu
- vm
- reddit
rules:
- if: '$CI_PIPELINE_SOURCE == "merge_request_event"' # Run on MRs
- when: always
script:
- echo "$DOCKER_TOKEN" | docker login -u "$DOCKER_USERNAME" --password-stdin
- docker push $DOCKERHUB_REPO:$CI_COMMIT_SHORT_SHA
......
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