Adding QEMU builder for ARM builds.
This commit is contained in:
parent
dae9ab94a4
commit
fd7fc1df34
|
@ -28,6 +28,11 @@ jobs:
|
|||
uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: ${{ matrix.node-version }}
|
||||
- name: Setup QEMU
|
||||
uses: docker/setup-qemu-action@v1
|
||||
- name: Setup Docker Buildx
|
||||
id: buildx
|
||||
uses: docker/setup-buildx-action@v1
|
||||
- name: Install Pro
|
||||
run: yarn install:pro $BRANCH $BASE_BRANCH
|
||||
- name: Run Yarn
|
||||
|
@ -62,7 +67,9 @@ jobs:
|
|||
echo $release_version
|
||||
echo "RELEASE_VERSION=$release_version" >> $GITHUB_ENV
|
||||
- name: Tag and release Budibase service docker image
|
||||
run: |
|
||||
yarn build:docker:single:image
|
||||
docker tag budibase budibase/budibase:v${{ env.RELEASE_VERSION }}
|
||||
docker push budibase/budibase:v${{ env.RELEASE_VERSION }}
|
||||
uses: docker/build-push-action@v2
|
||||
with:
|
||||
context: .
|
||||
platforms: linux/amd64,linux/arm64
|
||||
tags: budibase,budibase/budibase:v${{ env.RELEASE_VERSION }}
|
||||
file: ./hosting/single/Dockerfile
|
||||
|
|
Loading…
Reference in New Issue