-
-
Notifications
You must be signed in to change notification settings - Fork 107
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
In this PR I created a backup image based on the version patch of `apps/web` version
- Loading branch information
1 parent
71b1a50
commit bb31486
Showing
2 changed files
with
66 additions
and
2 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
name: Verify docker build | ||
|
||
on: | ||
push: | ||
branches: | ||
- '**' | ||
- '!main' | ||
|
||
jobs: | ||
Build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v2 | ||
|
||
- name: Docker Setup Buildx | ||
uses: docker/[email protected] | ||
|
||
- name: Build Docker image | ||
run: | | ||
docker buildx build --platform linux/arm64 --load -t local-image:local . \ | ||
--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 }}" |