diff --git a/.github/workflows/docker-build.yml b/.github/workflows/docker-build.yml index d6617e66..563280a1 100644 --- a/.github/workflows/docker-build.yml +++ b/.github/workflows/docker-build.yml @@ -128,5 +128,5 @@ jobs: OAUTH_APP_CLIENT_ID=${{ secrets.OAUTH_APP_CLIENT_ID_STAGING }} fi echo $OAUTH_APP_CLIENT_ID - docker compose build --build-arg BUILD_ENV=${{ inputs.build_env }} --build-arg BUILD_VERSION=$BUILD_VERSION --build-arg GITHUB_CLIENT_ID=$OAUTH_APP_CLIENT_ID + docker compose build --build-arg BUILD_ENV=${{ inputs.build_env }} --build-arg GITHUB_CLIENT_ID=$OAUTH_APP_CLIENT_ID --build-arg BUILD_VERSION=$BUILD_VERSION docker compose up --force-recreate -d diff --git a/marketplace-ui/Dockerfile b/marketplace-ui/Dockerfile index 541bb468..89bcefcd 100644 --- a/marketplace-ui/Dockerfile +++ b/marketplace-ui/Dockerfile @@ -5,7 +5,7 @@ ENV GITHUB_CLIENT_ID=${GITHUB_CLIENT_ID} WORKDIR /app COPY . . # Replace the placeholder in the environment file during build -RUN sed -i "s|GITHUB_CLIENT_ID|${GITHUB_CLIENT_ID}|g" src/environments/environment.staging.ts +RUN sed -i "s/GITHUB_CLIENT_ID/${GITHUB_CLIENT_ID}/g" src/environments/environment.staging.ts RUN npm install RUN npm run build -- --configuration $BUILD_ENV