Skip to content
This repository has been archived by the owner on Nov 13, 2024. It is now read-only.

Commit

Permalink
Merge pull request #568 from WildMeOrg/docker-build-fix-patch-1
Browse files Browse the repository at this point in the history
Docker build optimization use of cache for the second builds
  • Loading branch information
holmbergius authored Sep 27, 2023
2 parents 08ab9ec + 285320c commit 2a97541
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 9 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build_codex_fe.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
name: Build
name: Build Codex Frontend

on:
pull_request:
branches:
- main
- develop
- main
- develop
push:
branches:
- main
- develop
- main
- develop
tags:
- v*
schedule:
Expand Down
3 changes: 0 additions & 3 deletions scripts/build.npm.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
#!/usr/bin/env bash

export NODE_OPTIONS="--openssl-legacy-provider --max_old_space_size=8192"
npm remove node_modules
npm remove package-lock.json
npm install -g [email protected]
npm cache clean --force
npm install --legacy-peer-deps --maxsockets 1
npm run build -- --env=houston=relative
1 change: 0 additions & 1 deletion scripts/buildx.docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ if [ "$TAG" == "universal" ]; then
.
else
docker buildx build \
--no-cache \
-t ${IMG_PREFIX}${IMG}:${TAG} \
--platform linux/amd64,linux/arm64 \
--push \
Expand Down

0 comments on commit 2a97541

Please sign in to comment.