Use builder for arm64

This commit is contained in:
Kevin Yue 2024-02-25 21:06:26 -05:00
parent d25450fec4
commit 42987841e3

View File

@ -147,13 +147,12 @@ jobs:
runs-on: ${{ matrix.os }}
container:
image: yuezk/gpdev:pkgbuild
# Add -u builder for arm64
options: ${{ matrix.os == 'arm64' && '-u builder' || '' }}
credentials:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_TOKEN }}
steps:
- name: Change to non-root user
run: |
sudo su "$(stat -c '%U' $HOME)"
- name: Download tarball
uses: actions/download-artifact@v3
with: