mirror of
https://github.com/documenso/documenso.git
synced 2025-11-12 15:53:02 +10:00
chore: back to docker buildx
This commit is contained in:
20
.github/workflows/publish.yml
vendored
20
.github/workflows/publish.yml
vendored
@ -6,13 +6,7 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: warp-ubuntu-latest-arm64-16x
|
||||||
strategy:
|
|
||||||
fail-fast: false
|
|
||||||
matrix:
|
|
||||||
os:
|
|
||||||
- warp-ubuntu-latest-x64-4x
|
|
||||||
- warp-ubuntu-latest-arm64-4x
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
@ -32,11 +26,7 @@ jobs:
|
|||||||
username: ${{ github.repository_owner }}
|
username: ${{ github.repository_owner }}
|
||||||
password: ${{ secrets.GH_TOKEN }}
|
password: ${{ secrets.GH_TOKEN }}
|
||||||
|
|
||||||
- name: Build the docker image
|
- name: Build and push the docker image
|
||||||
run: ./docker/build.sh
|
run: ./docker/buildx-and-push.sh
|
||||||
|
env:
|
||||||
- name: Push the docker image to DockerHub
|
PLATFORM: 'linux/amd64,linux/arm64'
|
||||||
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
|
|
||||||
|
|||||||
Reference in New Issue
Block a user