π¨ The ultimate agentic social media scheduling tool π€
TypeScript nextjsopen-sourceopen-source-social-media-scheduling-toolosspostiz-cloudpostiz-hostedredisscheduling-toolsocial-media-scheduling-tooltypescript
replace emulation with native arm
Roshan Gautam3216a6350a5c
diff --git a/.github/workflows/build-containers-enterprise.yml b/.github/workflows/build-containers-enterprise.ymlindex 1b675ba56..c8fa8ba28 100644--- a/.github/workflows/build-containers-enterprise.yml+++ b/.github/workflows/build-containers-enterprise.yml@@ -25,7 +25,7 @@ jobs:include:- runnertags: ubuntu-latestarch: amd64- - runnertags: ubuntu-latest+ - runnertags: ubuntu-24.04-armarch: arm64runs-on: ${{ matrix.runnertags }}@@ -37,10 +37,6 @@ jobs:submodules: 'true'token: ${{ secrets.PAT_TOKEN }}- - name: Set up QEMU (For ARM64 Builds)- if: matrix.arch == 'arm64'- uses: docker/setup-qemu-action@v3-- name: Set up Docker Buildxuses: docker/setup-buildx-action@v3diff --git a/.github/workflows/build-containers.yml b/.github/workflows/build-containers.ymlindex cf2cf0cae..870507758 100644--- a/.github/workflows/build-containers.yml+++ b/.github/workflows/build-containers.yml@@ -25,9 +25,8 @@ jobs:include:- runnertags: ubuntu-latestarch: amd64- - runnertags: ubuntu-latest+ - runnertags: ubuntu-24.04-armarch: arm64-runs-on: ${{ matrix.runnertags }}steps:- name: Checkout@@ -35,10 +34,6 @@ jobs:with:fetch-depth: 0- - name: Set up QEMU (For ARM64 Builds)- if: matrix.arch == 'arm64'- uses: docker/setup-qemu-action@v3-- name: Set up Docker Buildxuses: docker/setup-buildx-action@v3@@ -56,10 +51,10 @@ jobs:run: |docker buildx build --platform linux/${{ matrix.arch }} \-f Dockerfile.dev \- -t ghcr.io/gitroomhq/postiz-app:${{ env.CONTAINERVER }}-${{ matrix.arch }} \+ -t ghcr.io/roshangm1/postiz-app:${{ env.CONTAINERVER }}-${{ matrix.arch }} \--build-arg NEXT_PUBLIC_VERSION=${{ env.NEXT_PUBLIC_VERSION }} \--provenance=false --sbom=false \- --output "type=registry,name=ghcr.io/gitroomhq/postiz-app:${{ env.CONTAINERVER }}-${{ matrix.arch }}" .+ --output "type=registry,name=ghcr.io/roshangm1/postiz-app:${{ env.CONTAINERVER }}-${{ matrix.arch }}" .build-container-manifest:needs: [build-containers, build-containers-common]@@ -78,29 +73,29 @@ jobs:run: |# Verify the architecture imagesecho "Verifying AMD64 image:"- docker buildx imagetools inspect ghcr.io/gitroomhq/postiz-app:${{ env.CONTAINERVER }}-amd64+ docker buildx imagetools inspect ghcr.io/roshangm1/postiz-app:${{ env.CONTAINERVER }}-amd64echo "Verifying ARM64 image:"- docker buildx imagetools inspect ghcr.io/gitroomhq/postiz-app:${{ env.CONTAINERVER }}-arm64+ docker buildx imagetools inspect ghcr.io/roshangm1/postiz-app:${{ env.CONTAINERVER }}-arm64# Try to remove any existing manifests first- docker manifest rm ghcr.io/gitroomhq/postiz-app:${{ env.CONTAINERVER }} || true- docker manifest rm ghcr.io/gitroomhq/postiz-app:latest || true+ docker manifest rm ghcr.io/roshangm1/postiz-app:${{ env.CONTAINERVER }} || true+ docker manifest rm ghcr.io/roshangm1/postiz-app:latest || true# Create and push the version-specific manifest- docker manifest create ghcr.io/gitroomhq/postiz-app:${{ env.CONTAINERVER }} \- --amend ghcr.io/gitroomhq/postiz-app:${{ env.CONTAINERVER }}-amd64 \- --amend ghcr.io/gitroomhq/postiz-app:${{ env.CONTAINERVER }}-arm64+ docker manifest create ghcr.io/roshangm1/postiz-app:${{ env.CONTAINERVER }} \+ --amend ghcr.io/roshangm1/postiz-app:${{ env.CONTAINERVER }}-amd64 \+ --amend ghcr.io/roshangm1/postiz-app:${{ env.CONTAINERVER }}-arm64- docker manifest push ghcr.io/gitroomhq/postiz-app:${{ env.CONTAINERVER }}+ docker manifest push ghcr.io/roshangm1/postiz-app:${{ env.CONTAINERVER }}# Create and push the latest manifest- docker manifest create ghcr.io/gitroomhq/postiz-app:latest \- --amend ghcr.io/gitroomhq/postiz-app:${{ env.CONTAINERVER }}-amd64 \- --amend ghcr.io/gitroomhq/postiz-app:${{ env.CONTAINERVER }}-arm64+ docker manifest create ghcr.io/roshangm1/postiz-app:latest \+ --amend ghcr.io/roshangm1/postiz-app:${{ env.CONTAINERVER }}-amd64 \+ --amend ghcr.io/roshangm1/postiz-app:${{ env.CONTAINERVER }}-arm64- docker manifest push ghcr.io/gitroomhq/postiz-app:latest+ docker manifest push ghcr.io/roshangm1/postiz-app:latest- name: Verify Manifestrun: |- docker manifest inspect ghcr.io/gitroomhq/postiz-app:latest+ docker manifest inspect ghcr.io/roshangm1/postiz-app:latest