Skip to content

Commit

Permalink
Use debian10 image
Browse files Browse the repository at this point in the history
  • Loading branch information
micafer committed Feb 11, 2025
1 parent 9d98f39 commit 7026f18
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 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:ubuntu16.04-1.1 /bin/sh -c " \
docker run --rm --volume "${PWD}:/repo" ghcr.io/grycap/faas-supervisor-build:debian10-1.2 /bin/sh -c " \
cd /repo && \
pip3.8 install -r requirements.txt
pip3.9 install -r requirements.txt
pyinstaller --onefile -n supervisor-bin faassupervisor/supervisor.py
pyinstaller faassupervisor/supervisor.py
cd dist
Expand Down Expand Up @@ -125,9 +125,9 @@ jobs:
uses: docker/setup-buildx-action@v3
- name: Build binary on emulated aarch64
run: |
docker run --rm --platform arm64 --volume "${PWD}:/repo" ghcr.io/grycap/faas-supervisor-build:ubuntu16.04-1.1 /bin/sh -c " \
docker run --rm --platform arm64 --volume "${PWD}:/repo" ghcr.io/grycap/faas-supervisor-build:debian10-1.2 /bin/sh -c " \
cd /repo && \
pip3.8 install -r requirements.txt && \
pip3.9 install -r requirements.txt && \
pyinstaller --onefile -n supervisor-arm64 faassupervisor/supervisor.py && \
pyinstaller faassupervisor/supervisor.py && \
cd dist && \
Expand Down

0 comments on commit 7026f18

Please sign in to comment.