feat: update deployment configuration and enhance VITE_API_BASE_URL handling
This commit is contained in:
1 parent
39039b4d27
commit
1d421ee948
5 files changed
+260
-297
No files matched your search
@@ -8,6 +8,7 @@ on:
|
||||
|
||||
env:
|
||||
REGISTRY: ghcr.io
|
||||
VITE_API_BASE_URL: ${{ vars.VITE_API_BASE_URL || 'https://api.zeavisedu.asepharyana.tech' }}
|
||||
|
||||
jobs:
|
||||
build:
|
||||
@@ -59,6 +60,8 @@ jobs:
|
||||
push: true
|
||||
tags: ${{ steps.meta.outputs.tags }}
|
||||
labels: ${{ steps.meta.outputs.labels }}
|
||||
build-args: |
|
||||
VITE_API_BASE_URL=${{ env.VITE_API_BASE_URL }}
|
||||
cache-from: type=gha,scope=${{ matrix.service.name }}
|
||||
cache-to: type=gha,mode=max,scope=${{ matrix.service.name }}
|
||||
|
||||
|
||||
Reference in new issue
Block a user