Skip to content

Commit

Permalink
fixing image bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
Emmanuel-Tyty committed Feb 18, 2025
1 parent 9662f27 commit 9200b87
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ build_backend:
docker build --network host -f backend/Dockerfile \
-t "$CI_APPLICATION_REPOSITORY/outcomes.1694.io:$CI_APPLICATION_TAG" \
-t "$CI_APPLICATION_REPOSITORY/outcomes.1694.io:latest" ./backend
docker push "$CI_APPLICATION_REPOSITORY/outcomes.1694.io:$CI_APPLICATION_TAG"
docker push "$CI_APPLICATION_REPOSITORY/outcomes.1694.io:latest"
rules:
Expand Down
3 changes: 3 additions & 0 deletions Dockerfile.govtool
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ RUN yarn install

COPY ./ui/dist /app/govtool/frontend/ui/dist

RUN ls /app/govtool/frontend/ui/dist

# Conditionally install the package or copy UI files
RUN if [ "$CARDANO_NETWORK" = "mainnet" ]; then \
echo "Installing latest @intersect.mbo/govtool-outcomes-pillar-ui via yarn..."; \
Expand All @@ -24,6 +26,7 @@ RUN if [ "$CARDANO_NETWORK" = "mainnet" ]; then \
else \
echo "Copying UI files for non-mainnet environment..."; \
cp -r /app/govtool/frontend/ui/dist /app/govtool/frontend/node_modules/@intersect.mbo/govtool-outcomes-pillar-ui/dist; \
rm -rf /app/govtool/frontend/node_modules/@intersect.mbo/govtool-outcomes-pillar-ui/dist/dist \
ls /app/govtool/frontend/node_modules/@intersect.mbo/govtool-outcomes-pillar-ui/dist; \
fi

Expand Down

0 comments on commit 9200b87

Please sign in to comment.