ci: fix vite env vars not passed when build
Some checks failed
Build and Publish Docker Image / build-and-push (push) Failing after 2m20s
Some checks failed
Build and Publish Docker Image / build-and-push (push) Failing after 2m20s
Co-authored-by: Ona <no-reply@ona.com>
This commit is contained in:
6
.github/workflows/docker-publish.yml
vendored
6
.github/workflows/docker-publish.yml
vendored
@@ -49,6 +49,12 @@ jobs:
|
||||
tags: ${{ steps.meta.outputs.tags }}
|
||||
labels: ${{ steps.meta.outputs.labels }}
|
||||
platforms: linux/amd64
|
||||
cache-from: type=gha
|
||||
cache-to: type=gha,mode=max
|
||||
build-args: |
|
||||
VITE_API_URL=${{ vars.VITE_API_URL }}
|
||||
VITE_DEFAULT_LATITUDE=${{ vars.VITE_DEFAULT_LATITUDE }}
|
||||
VITE_DEFAULT_LONGITUDE=${{ vars.VITE_DEFAULT_LONGITUDE }}
|
||||
|
||||
- name: Output image URLs
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user