chore: back to docker buildx

This commit is contained in:
Lucas Smith
2024-03-07 10:24:17 +00:00
parent f6eddaa9f6
commit 2ccc2f22de

View File

@ -6,13 +6,7 @@ on:
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- warp-ubuntu-latest-x64-4x
- warp-ubuntu-latest-arm64-4x
runs-on: warp-ubuntu-latest-arm64-16x
steps:
- uses: actions/checkout@v4
@ -32,11 +26,7 @@ jobs:
username: ${{ github.repository_owner }}
password: ${{ secrets.GH_TOKEN }}
- name: Build the docker image
run: ./docker/build.sh
- name: Push the docker image to DockerHub
run: docker push --all-tags documenso/documenso
- name: Push the docker image to GitHub Container Registry
run: docker push --all-tags ghcr.io/documenso/documenso
- name: Build and push the docker image
run: ./docker/buildx-and-push.sh
env:
PLATFORM: 'linux/amd64,linux/arm64'