Skip to content

Commit fef2c40

Browse files
committed
add debug logs
1 parent 51d4d4c commit fef2c40

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

.controlplane/Dockerfile

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,11 @@ RUN yarn install --frozen-lockfile
4646
# Copy application code
4747
COPY . .
4848

49+
RUN echo "ZYXYZYXYZ"
50+
51+
RUN ls -l
52+
RUN ls -l app
53+
4954
# Final stage for app image
5055
FROM base
5156

@@ -58,6 +63,10 @@ RUN apt-get update -qq && \
5863
COPY --from=build /usr/local/bundle /usr/local/bundle
5964
COPY --from=build /app /app
6065

66+
RUN ls -l app
67+
68+
RUN cat /app/client/app/bundles/comments/components/Footer/Footer.jsx
69+
6170
RUN chmod +x /app/.controlplane/*.sh
6271

6372
ENV RAILS_ENV=production \

.github/actions/build-docker-image/action.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ runs:
2828
fi
2929
3030
echo "🏗️ Building Docker image${PR_INFO} (commit ${{ inputs.commit }})..."
31+
32+
/usr/bin/git log -1 --format=%H
3133
3234
if cpflow build-image -a "${{ inputs.app_name }}" --commit="${{ inputs.commit }}" --org="${{ inputs.org }}"; then
3335
image_tag="${{ inputs.org }}/${{ inputs.app_name }}:${{ inputs.commit }}"

0 commit comments

Comments
 (0)