RED-3800 - sonar api key update
This commit is contained in:
parent
8cb8c8027c
commit
bee491eafe
@ -25,7 +25,7 @@ fi
|
|||||||
|
|
||||||
|
|
||||||
echo "Building version $version"
|
echo "Building version $version"
|
||||||
docker build -t "$imageName":latest -f "$dockerfileLocation" .
|
docker build --buildArgs bamboo_sonarqube_api_token_secret=${bamboo_sonarqube_api_token_secret} -t "$imageName":latest -f "$dockerfileLocation" .
|
||||||
|
|
||||||
if [[ -n ${version+z} ]]
|
if [[ -n ${version+z} ]]
|
||||||
then
|
then
|
||||||
|
|||||||
@ -1,4 +1,5 @@
|
|||||||
FROM node:14.18-buster as prep
|
FROM node:14.18-buster as prep
|
||||||
|
|
||||||
RUN apt-get update && apt-get install -y jq
|
RUN apt-get update && apt-get install -y jq
|
||||||
COPY package.json /tmp
|
COPY package.json /tmp
|
||||||
|
|
||||||
@ -15,8 +16,8 @@ COPY yarn.lock ./
|
|||||||
|
|
||||||
## Storing node modules on a separate layer will prevent unnecessary npm installs at each build
|
## Storing node modules on a separate layer will prevent unnecessary npm installs at each build
|
||||||
RUN yarn install && mkdir /ng-app && mv ./node_modules ./ng-app
|
RUN yarn install && mkdir /ng-app && mv ./node_modules ./ng-app
|
||||||
|
ARG bamboo_sonarqube_api_token_secret
|
||||||
|
ENV bamboo_sonarqube_api_token_secret=$bamboo_sonarqube_api_token_secret
|
||||||
|
|
||||||
WORKDIR /ng-app
|
WORKDIR /ng-app
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user