Commit 37b2a9b4 authored by Bhavani's avatar Bhavani
Browse files

cicd updated

parent 1bb2611c
Pipeline #12140 failed with stages
in 31 seconds
......@@ -11,7 +11,6 @@ variables:
###########################
# 1. LINT STAGE
###########################
lint:
stage: lint
image: python:3.10
......@@ -47,7 +46,8 @@ build:
tags: ["ubuntu", "vm"]
script:
- echo "Building Docker image..."
- docker build -t $DOCKERHUB_REPO:$CI_COMMIT_SHORT_SHA .
- 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"'
......
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