Generate prod build inside container

This commit is contained in:
Ashleigh Carr 2024-02-06 10:26:33 +00:00
parent 3b265322e0
commit 40a4872f70
3 changed files with 12 additions and 6 deletions

View file

@ -44,7 +44,7 @@ jobs:
with:
image: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
containerfiles: ./Containerfile
platforms: linux/arm64, linux/amd64
platforms: linux/amd64
oci: true
- name: UI Tests
@ -52,7 +52,3 @@ jobs:
run: |
sudo apt-get install xvfb
xvfb-run --server-args="-screen 0 1200x800x24" npx grunt testui
image:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

View file

@ -72,6 +72,10 @@ jobs:
containerfiles: ./Containerfile
platforms: linux/arm64, linux/amd64
oci: true
# Webpack seems to use a lot of open files, increase the max open file limit to accomodate.
extra-args: |
--ulimit nofile=10000
- name: Upload Release Assets
if: success()