You need to sign in or sign up before continuing.
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: ...@@ -11,7 +11,6 @@ variables:
########################### ###########################
# 1. LINT STAGE # 1. LINT STAGE
########################### ###########################
lint: lint:
stage: lint stage: lint
image: python:3.10 image: python:3.10
...@@ -47,7 +46,8 @@ build: ...@@ -47,7 +46,8 @@ build:
tags: ["ubuntu", "vm"] tags: ["ubuntu", "vm"]
script: script:
- echo "Building Docker image..." - 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: rules:
- if: '$CI_COMMIT_BRANCH' - if: '$CI_COMMIT_BRANCH'
- if: '$CI_PIPELINE_SOURCE == "merge_request_event"' - 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