diff --git a/.github/workflows/cd.yaml b/.github/workflows/cd.yaml index 776f8f0..229eb78 100644 --- a/.github/workflows/cd.yaml +++ b/.github/workflows/cd.yaml @@ -66,7 +66,7 @@ jobs: - name: Push Docker Image 🚀 run: | echo "Pushing Docker image: $IMAGE_TAG" - docker compose --profile prod push + docker compose --profile prod:push push if [ $? -eq 0 ]; then echo "✅ Docker image $IMAGE_TAG pushed successfully!" else diff --git a/Dockerfile b/Dockerfile index 13e7c44..4f21481 100644 --- a/Dockerfile +++ b/Dockerfile @@ -27,7 +27,7 @@ WORKDIR /app COPY --from=builder /app/node_modules ./node_modules COPY --from=builder /app/package*.json ./ # COPY --from=builder /app/dist ./dist -COPY --from=builder /app/temp ./temp +# COPY --from=builder /app/temp ./temp COPY --from=builder /app/views ./views COPY --from=builder /app/*.js ./ diff --git a/docker-compose.yaml b/docker-compose.yaml index 3992073..be390b6 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -1,6 +1,7 @@ services: app: profiles: + - prod:push - prod - dev build: