We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e2ace22 commit f5fd949Copy full SHA for f5fd949
.github/workflows/release.yml
@@ -23,6 +23,7 @@ jobs:
23
registry: rg.fr-par.scw.cloud/codebench
24
username: nologin
25
password: ${{ secrets.SCW_SECRET_KEY }}
26
+ build-args: REACT_APP_API_ENDPOINT=https://api.codebench.dev
27
- name: Build and push
28
uses: docker/build-push-action@v2
29
with:
Dockerfile
@@ -1,5 +1,9 @@
1
FROM node:16-alpine as build-step
2
3
+ARG REACT_APP_API_ENDPOINT
4
+
5
+ENV REACT_APP_API_ENDPOINT $REACT_APP_API_ENDPOINT
6
7
RUN mkdir /app
8
WORKDIR /app
9
COPY package.json /app
0 commit comments