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