Skip to content

Commit

Permalink
Merge branch 'dev_micafer' of github.com:grycap/faas-supervisor into …
Browse files Browse the repository at this point in the history
…dev_micafer
  • Loading branch information
micafer committed Feb 12, 2025
2 parents 23dc920 + 39bdcb3 commit dbbad7b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,9 @@ jobs:
uses: actions/checkout@v4
- name: Build binary
run: |
docker run --rm --volume "${PWD}:/repo" ghcr.io/grycap/faas-supervisor-build:debian10-1.2 /bin/sh -c " \
docker run --rm --volume "${PWD}:/repo" ghcr.io/grycap/faas-supervisor-build:ubuntu16.04-1.2 /bin/sh -c " \
cd /repo && \
pip3.9 install -r requirements.txt
pip3.8 install -r requirements.txt
pyinstaller --onefile -n supervisor-bin faassupervisor/supervisor.py
pyinstaller faassupervisor/supervisor.py
cd dist
Expand Down Expand Up @@ -123,6 +123,8 @@ jobs:
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
# if we use debian10-1.2 we have tls1.3 support but we lose old distros (glibc older than 2.31)
# if we use ubuntu16.04-1.1 we lose the tls1.3 support but use glibc version 2.23.
- name: Build binary on emulated aarch64
run: |
docker run --rm --platform arm64 --volume "${PWD}:/repo" ghcr.io/grycap/faas-supervisor-build:debian10-1.2 /bin/sh -c " \
Expand Down

0 comments on commit dbbad7b

Please sign in to comment.