adding envs for drone
This commit is contained in:
@@ -108,6 +108,9 @@ steps:
|
||||
|
||||
- name: run-container
|
||||
image: docker:24
|
||||
environment:
|
||||
API_BASE_URL:
|
||||
from_secret: API_BASE_URL
|
||||
volumes:
|
||||
- name: dockersock
|
||||
path: /var/run/docker.sock
|
||||
@@ -120,6 +123,7 @@ steps:
|
||||
--name blog \
|
||||
-p 3002:3000 \
|
||||
-e NODE_ENV=production \
|
||||
-e VITE_API_BASE_URL=$API_BASE_URL \
|
||||
--restart always \
|
||||
apps/blog:$IMAGE_TAG
|
||||
|
||||
|
||||
Reference in New Issue
Block a user