Commit af3fe849 authored by Bhavani's avatar Bhavani
Browse files

cicd updated

parent f7dd7209
Pipeline #12293 passed with stages
in 39 seconds
......@@ -46,13 +46,13 @@ build:
tags: ["ubuntu", "vm"]
script:
- 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:
- if: '$CI_COMMIT_BRANCH'
- if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
when: never
###########################
# 4. DEPLOY (PUSH TO DOCKERHUB)
###########################
......
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