Remove/infinite scroll (#327) #124
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build and push web app | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- 'apps/web/**/*' | |
- 'packages/**/*' | |
- 'Dockerfile' | |
jobs: | |
docker-build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Set up QEMU | |
uses: docker/setup-qemu-action@v2 | |
with: | |
platforms: 'arm64,arm' | |
- name: Docker Setup Buildx | |
uses: docker/[email protected] | |
- name: Login to OCIR | |
uses: docker/login-action@v2 | |
with: | |
registry: gru.ocir.io | |
username: ${{ secrets.OCI_REPOSITORY_USER }} | |
password: ${{ secrets.OCI_REPOSITORY_PASS }} | |
- name: Build Docker image | |
run: | | |
docker buildx build . --platform linux/arm64 -t "gru.ocir.io/gricbxnlp2kb/trampar-de-casa:latest" -t "gru.ocir.io/gricbxnlp2kb/trampar-de-casa:$(cd apps/web && cat package.json | jq -r '.version')" --push \ | |
--build-arg DATABASE_URL="${{ secrets.DATABASE_URL }}" \ | |
--build-arg SUPABASE_URL="${{ secrets.SUPABASE_URL }}" \ | |
--build-arg SUPABASE_SERVICE_ROLE="${{ secrets.SUPABASE_SERVICE_ROLE }}" \ | |
--build-arg EMAIL_KEY="${{ secrets.EMAIL_KEY }}" \ | |
--build-arg EMAIL_PASS="${{ secrets.EMAIL_PASS }}" \ | |
--build-arg CRYPT_SECRET="${{ secrets.CRYPT_SECRET }}" \ | |
--build-arg RESEND_KEY="${{ secrets.RESEND_KEY }}" \ | |
--build-arg RESEND_WEBHOOK_SECRET="${{ secrets.RESEND_WEBHOOK_SECRET }}" \ | |
--build-arg OWNER_EMAIL="${{ secrets.OWNER_EMAIL }}" \ | |
--build-arg NEXT_PUBLIC_MIXPANEL_KEY="${{ secrets.NEXT_PUBLIC_MIXPANEL_KEY }}" \ | |
--build-arg CRON_SECRET="${{ secrets.CRON_SECRET }}" |