Skip to content

Commit

Permalink
implement
Browse files Browse the repository at this point in the history
  • Loading branch information
phhung-axonivy committed Nov 15, 2024
1 parent 0798be3 commit 1265d10
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docker-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion marketplace-ui/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 1265d10

Please sign in to comment.