Skip to content

Commit

Permalink
fix: try wiith multiple lines another way
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcossIC committed Nov 23, 2024
1 parent 1d5486c commit d6be248
Showing 1 changed file with 24 additions and 2 deletions.
26 changes: 24 additions & 2 deletions .github/workflows/mainServer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,30 @@ jobs:
run: |
docker build \
-f ./apps/users/Dockerfile \
--build-arg SMTP_USER=${{ secrets.SMTP_USER }} --build-arg SMTP_PASS=${{ secrets.SMTP_PASS }} --build-arg SMTP_HOST=${{ secrets.SMTP_HOST }} --build-arg SMTP_PORT=${{ secrets.SMTP_PORT }} --build-arg SMTP_SECURE=${{ secrets.SMTP_SECURE }} --build-arg GOOGLE_CLIENT_ID=${{ secrets.GOOGLE_CLIENT_ID }} --build-arg GOOGLE_CLIENT_SECRET=${{ secrets.GOOGLE_CLIENT_SECRET }} --build-arg GOOGLE_CALLBACK_URL=${{ secrets.GOOGLE_CALLBACK_URL }} --build-arg DATABASE_URL=${{ secrets.DATABASE_URL }} --build-arg DATABASE_URL_UNPOOLED=${{ secrets.DATABASE_URL_UNPOOLED }} --build-arg PGHOST=${{ secrets.PGHOST }} --build-arg PGHOST_UNPOOLED=${{ secrets.PGHOST_UNPOOLED }} --build-arg PGUSER=${{ secrets.PGUSER }} --build-arg PGDATABASE=${{ secrets.PGDATABASE }} --build-arg PGPASSWORD=${{ secrets.PGPASSWORD }} --build-arg POSTGRES_URL=${{ secrets.POSTGRES_URL }} --build-arg POSTGRES_URL_NON_POOLING=${{ secrets.POSTGRES_URL_NON_POOLING }} --build-arg POSTGRES_USER=${{ secrets.POSTGRES_USER }} --build-arg POSTGRES_HOST=${{ secrets.POSTGRES_HOST }} --build-arg POSTGRES_PASSWORD=${{ secrets.POSTGRES_PASSWORD }} --build-arg POSTGRES_DATABASE=${{ secrets.POSTGRES_DATABASE }} --build-arg POSTGRES_URL_NO_SSL=${{ secrets.POSTGRES_URL_NO_SSL }} --build-arg POSTGRES_PRISMA_URL=${{ secrets.POSTGRES_PRISMA_URL }} \
-t "$GCLOUD_REGION-docker.pkg.dev/${{ secrets.GCLOUD_PROJECT_ID }}/klowhub-server/klowhub-users-api:${{ github.sha }}" .
--build-arg SMTP_USER=${{ secrets.SMTP_USER }} \
--build-arg SMTP_PASS=${{ secrets.SMTP_PASS }} \
--build-arg SMTP_HOST=${{ secrets.SMTP_HOST }} \
--build-arg SMTP_PORT=${{ secrets.SMTP_PORT }} \
--build-arg SMTP_SECURE=${{ secrets.SMTP_SECURE }} \
--build-arg GOOGLE_CLIENT_ID=${{ secrets.GOOGLE_CLIENT_ID }} \
--build-arg GOOGLE_CLIENT_SECRET=${{ secrets.GOOGLE_CLIENT_SECRET }} \
--build-arg GOOGLE_CALLBACK_URL=${{ secrets.GOOGLE_CALLBACK_URL }} \
--build-arg DATABASE_URL=${{ secrets.DATABASE_URL }} \
--build-arg DATABASE_URL_UNPOOLED=${{ secrets.DATABASE_URL_UNPOOLED }} \
--build-arg PGHOST=${{ secrets.PGHOST }} \
--build-arg PGHOST_UNPOOLED=${{ secrets.PGHOST_UNPOOLED }} \
--build-arg PGUSER=${{ secrets.PGUSER }} \
--build-arg PGDATABASE=${{ secrets.PGDATABASE }} \
--build-arg PGPASSWORD=${{ secrets.PGPASSWORD }} \
--build-arg POSTGRES_URL=${{ secrets.POSTGRES_URL }} \
--build-arg POSTGRES_URL_NON_POOLING=${{ secrets.POSTGRES_URL_NON_POOLING }} \
--build-arg POSTGRES_USER=${{ secrets.POSTGRES_USER }} \
--build-arg POSTGRES_HOST=${{ secrets.POSTGRES_HOST }} \
--build-arg POSTGRES_PASSWORD=${{ secrets.POSTGRES_PASSWORD }} \
--build-arg POSTGRES_DATABASE=${{ secrets.POSTGRES_DATABASE }} \
--build-arg POSTGRES_URL_NO_SSL=${{ secrets.POSTGRES_URL_NO_SSL }} \
--build-arg POSTGRES_PRISMA_URL=${{ secrets.POSTGRES_PRISMA_URL }} \
-t $GCLOUD_REGION-docker.pkg.dev/${{ secrets.GCLOUD_PROJECT_ID }}/klowhub-server/klowhub-users-api:${{ github.sha }} .
# 8. Construir la imagen Docker para Courses Service
- name: Courses Service - Build Docker image
Expand Down

0 comments on commit d6be248

Please sign in to comment.