File tree 1 file changed +14
-2
lines changed
1 file changed +14
-2
lines changed Original file line number Diff line number Diff line change 29
29
fi
30
30
31
31
# Build and tag the Docker image
32
- docker build -t "openmf/ph-ee-operations-web:$IMAGE_TAG" .
32
+ docker build \
33
+ --build-arg BUILDER_IMAGE=node:20-alpine \
34
+ --build-arg NGINX_IMAGE=nginx:1.19.3 \
35
+ --build-arg NPM_REGISTRY_URL=https://registry.npmjs.org/ \
36
+ --build-arg PUPPETEER_DOWNLOAD_HOST_ARG=https://storage.googleapis.com \
37
+ --build-arg PUPPETEER_CHROMIUM_REVISION_ARG=1011831 \
38
+ -t "openmf/ph-ee-operations-web:$IMAGE_TAG" .
33
39
34
40
# Push the Docker image to Docker Hub
35
41
docker login -u "$DOCKERHUB_USERNAME" -p "$DOCKERHUB_PASSWORD"
53
59
- run :
54
60
name : Build Docker image
55
61
command : |
56
- docker build -t openmf/ph-ee-operations-web:latest .
62
+ docker build \
63
+ --build-arg BUILDER_IMAGE=node:20-alpine \
64
+ --build-arg NGINX_IMAGE=nginx:1.19.3 \
65
+ --build-arg NPM_REGISTRY_URL=https://registry.npmjs.org/ \
66
+ --build-arg PUPPETEER_DOWNLOAD_HOST_ARG=https://storage.googleapis.com \
67
+ --build-arg PUPPETEER_CHROMIUM_REVISION_ARG=1011831 \
68
+ -t "openmf/ph-ee-operations-web:latest" .
57
69
if [ "$CIRCLE_BRANCH" != "master" ]; then
58
70
PR_NUMBER=$(basename $CIRCLE_PULL_REQUEST)
59
71
PR_TITLE=$(curl -sSL "https://api.github.com/repos/openmf/$CIRCLE_PR_REPONAME/pulls/$PR_NUMBER" | jq -r '.title')
You can’t perform that action at this time.
0 commit comments