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
|
uses: actions/setup-node@v1
|
||||||
with:
|
with:
|
||||||
node-version: ${{ matrix.node-version }}
|
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
|
- name: Install Pro
|
||||||
run: yarn install:pro $BRANCH $BASE_BRANCH
|
run: yarn install:pro $BRANCH $BASE_BRANCH
|
||||||
- name: Run Yarn
|
- name: Run Yarn
|
||||||
|
@ -62,7 +67,9 @@ jobs:
|
||||||
echo $release_version
|
echo $release_version
|
||||||
echo "RELEASE_VERSION=$release_version" >> $GITHUB_ENV
|
echo "RELEASE_VERSION=$release_version" >> $GITHUB_ENV
|
||||||
- name: Tag and release Budibase service docker image
|
- name: Tag and release Budibase service docker image
|
||||||
run: |
|
uses: docker/build-push-action@v2
|
||||||
yarn build:docker:single:image
|
with:
|
||||||
docker tag budibase budibase/budibase:v${{ env.RELEASE_VERSION }}
|
context: .
|
||||||
docker push budibase/budibase:v${{ env.RELEASE_VERSION }}
|
platforms: linux/amd64,linux/arm64
|
||||||
|
tags: budibase,budibase/budibase:v${{ env.RELEASE_VERSION }}
|
||||||
|
file: ./hosting/single/Dockerfile
|
||||||
|
|
Loading…
Reference in New Issue