Skip to content

Commit

Permalink
No more ARM64 until someone comes around and fixes it
Browse files Browse the repository at this point in the history
  • Loading branch information
TheArcaneBrony committed Aug 23, 2023
1 parent 3bc7692 commit 5bb0b54
Show file tree
Hide file tree
Showing 4 changed files with 138 additions and 138 deletions.
68 changes: 34 additions & 34 deletions .github/workflows/spacebar-client-docker-pull-requessts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ on:

jobs:
build-amd64:
runs-on: [x64]
needs: build-arm64
runs-on: ubuntu-latest
#needs: build-arm64
steps:
- uses: actions/checkout@v3
- name: Set up QEMU
Expand All @@ -32,38 +32,38 @@ jobs:
uses: Noelware/docker-manifest-action@master # or use a pinned version in the Releases tab
with:
inputs: spacebarchat/client:latest
images: spacebarchat/client:latest-amd64,spacebarchat/client:latest-arm64,spacebarchat/client:latest-armv7
images: spacebarchat/client:latest-amd64
push: false
amend: true

build-arm64:
runs-on: [ARM64]
steps:
- uses: actions/checkout@v3
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_SPACEBAR_USERNAME }}
password: ${{ secrets.DOCKERHUB_SPACEBAR_TOKEN }}
- name: Build and push armv7
uses: docker/build-push-action@v4
with:
context: "{{defaultContext}}:spacebar-client/"
platforms: linux/arm/v7
file: Dockerfile
push: false
tags: spacebarchat/client:latest-armv7
provenance: false
- name: Build and push arm64
uses: docker/build-push-action@v4
with:
context: "{{defaultContext}}:client/"
platforms: linux/arm64
file: Dockerfile
push: false
tags: spacebarchat/client:latest-arm64
provenance: false
# build-arm64:
# runs-on: [ARM64]
# steps:
# - uses: actions/checkout@v3
# - name: Set up QEMU
# uses: docker/setup-qemu-action@v2
# - name: Set up Docker Buildx
# uses: docker/setup-buildx-action@v2
# - name: Login to Docker Hub
# uses: docker/login-action@v2
# with:
# username: ${{ secrets.DOCKERHUB_SPACEBAR_USERNAME }}
# password: ${{ secrets.DOCKERHUB_SPACEBAR_TOKEN }}
# - name: Build and push armv7
# uses: docker/build-push-action@v4
# with:
# context: "{{defaultContext}}:spacebar-client/"
# platforms: linux/arm/v7
# file: Dockerfile
# push: false
# tags: spacebarchat/client:latest-armv7
# provenance: false
# - name: Build and push arm64
# uses: docker/build-push-action@v4
# with:
# context: "{{defaultContext}}:client/"
# platforms: linux/arm64
# file: Dockerfile
# push: false
# tags: spacebarchat/client:latest-arm64
# provenance: false
68 changes: 34 additions & 34 deletions .github/workflows/spacebar-client-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ on:

jobs:
build-amd64:
runs-on: [x64]
needs: build-arm64
runs-on: ubuntu-latest
#needs: build-arm64
steps:
- uses: actions/checkout@v3
- name: Set up QEMU
Expand All @@ -32,38 +32,38 @@ jobs:
uses: Noelware/docker-manifest-action@master # or use a pinned version in the Releases tab
with:
inputs: spacebarchat/client:latest
images: spacebarchat/client:latest-amd64,spacebarchat/client:latest-arm64,spacebarchat/client:latest-armv7
images: spacebarchat/client:latest-amd64
push: true
amend: true

build-arm64:
runs-on: [ARM64]
steps:
- uses: actions/checkout@v3
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_SPACEBAR_USERNAME }}
password: ${{ secrets.DOCKERHUB_SPACEBAR_TOKEN }}
- name: Build and push armv7
uses: docker/build-push-action@v4
with:
context: "{{defaultContext}}:spacebar-client/"
platforms: linux/arm/v7
file: Dockerfile
push: true
tags: spacebarchat/client:latest-armv7
provenance: false
- name: Build and push arm64
uses: docker/build-push-action@v4
with:
context: "{{defaultContext}}:spacebar-client/"
platforms: linux/arm64
file: Dockerfile
push: true
tags: spacebarchat/client:latest-arm64
provenance: false
# build-arm64:
# runs-on: [ARM64]
# steps:
# - uses: actions/checkout@v3
# - name: Set up QEMU
# uses: docker/setup-qemu-action@v2
# - name: Set up Docker Buildx
# uses: docker/setup-buildx-action@v2
# - name: Login to Docker Hub
# uses: docker/login-action@v2
# with:
# username: ${{ secrets.DOCKERHUB_SPACEBAR_USERNAME }}
# password: ${{ secrets.DOCKERHUB_SPACEBAR_TOKEN }}
# - name: Build and push armv7
# uses: docker/build-push-action@v4
# with:
# context: "{{defaultContext}}:spacebar-client/"
# platforms: linux/arm/v7
# file: Dockerfile
# push: true
# tags: spacebarchat/client:latest-armv7
# provenance: false
# - name: Build and push arm64
# uses: docker/build-push-action@v4
# with:
# context: "{{defaultContext}}:spacebar-client/"
# platforms: linux/arm64
# file: Dockerfile
# push: true
# tags: spacebarchat/client:latest-arm64
# provenance: false
70 changes: 35 additions & 35 deletions .github/workflows/spacebar-server-docker-pull-requests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ on:

jobs:
build-amd64:
runs-on: [x64]
needs: build-arm64
runs-on: ubuntu-latest
#needs: build-arm64
steps:
- uses: actions/checkout@v3
- name: Set up QEMU
Expand Down Expand Up @@ -40,45 +40,45 @@ jobs:
uses: Noelware/docker-manifest-action@master # or use a pinned version in the Releases tab
with:
inputs: spacebarchat/server:latest-postgressql
images: spacebarchat/server:latest-postgressql-amd64,spacebarchat/server:latest-postgressql-arm64
images: spacebarchat/server:latest-postgressql-amd64
push: false
amend: true
- name: Create and push manifest images sqlite
uses: Noelware/docker-manifest-action@master # or use a pinned version in the Releases tab
with:
inputs: spacebarchat/server:latest-sqlite
images: spacebarchat/server:latest-sqlite-amd64,spacebarchat/server:latest-sqlite-arm64
images: spacebarchat/server:latest-sqlite-amd64
push: false
amend: true

build-arm64:
runs-on: [ARM64]
steps:
- uses: actions/checkout@v3
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_SPACEBAR_USERNAME }}
password: ${{ secrets.DOCKERHUB_SPACEBAR_TOKEN }}
- name: Build and push with sqlite arm64
uses: docker/build-push-action@v4
with:
context: "{{defaultContext}}:spacebar-server/"
platforms: linux/arm64
file: Dockerfile
push: false
tags: spacebarchat/server:latest-sqlite-arm64
provenance: false
- name: Build and push with postgressql arm64
uses: docker/build-push-action@v4
with:
context: "{{defaultContext}}:spacebar-server/"
platforms: linux/arm64
file: Dockerfile-prod
push: false
tags: spacebarchat/server:latest-postgressql-arm64
provenance: false
# build-arm64:
# runs-on: [ARM64]
# steps:
# - uses: actions/checkout@v3
# - name: Set up QEMU
# uses: docker/setup-qemu-action@v2
# - name: Set up Docker Buildx
# uses: docker/setup-buildx-action@v2
# - name: Login to Docker Hub
# uses: docker/login-action@v2
# with:
# username: ${{ secrets.DOCKERHUB_SPACEBAR_USERNAME }}
# password: ${{ secrets.DOCKERHUB_SPACEBAR_TOKEN }}
# - name: Build and push with sqlite arm64
# uses: docker/build-push-action@v4
# with:
# context: "{{defaultContext}}:spacebar-server/"
# platforms: linux/arm64
# file: Dockerfile
# push: false
# tags: spacebarchat/server:latest-sqlite-arm64
# provenance: false
# - name: Build and push with postgressql arm64
# uses: docker/build-push-action@v4
# with:
# context: "{{defaultContext}}:spacebar-server/"
# platforms: linux/arm64
# file: Dockerfile-prod
# push: false
# tags: spacebarchat/server:latest-postgressql-arm64
# provenance: false
70 changes: 35 additions & 35 deletions .github/workflows/spacebar-server-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ on:

jobs:
build-amd64:
runs-on: [x64]
needs: build-arm64
runs-on: ubuntu-latest
#needs: build-arm64
steps:
- uses: actions/checkout@v3
- name: Set up QEMU
Expand Down Expand Up @@ -40,45 +40,45 @@ jobs:
uses: Noelware/docker-manifest-action@master # or use a pinned version in the Releases tab
with:
inputs: spacebarchat/server:latest-postgressql
images: spacebarchat/server:latest-postgressql-amd64,spacebarchat/server:latest-postgressql-arm64
images: spacebarchat/server:latest-postgressql-amd64
push: true
amend: true
- name: Create and push manifest images sqlite
uses: Noelware/docker-manifest-action@master # or use a pinned version in the Releases tab
with:
inputs: spacebarchat/server:latest-sqlite
images: spacebarchat/server:latest-sqlite-amd64,spacebarchat/server:latest-sqlite-arm64
images: spacebarchat/server:latest-sqlite-amd64
push: true
amend: true

build-arm64:
runs-on: [ARM64]
steps:
- uses: actions/checkout@v3
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_SPACEBAR_USERNAME }}
password: ${{ secrets.DOCKERHUB_SPACEBAR_TOKEN }}
- name: Build and push with sqlite arm64
uses: docker/build-push-action@v4
with:
context: "{{defaultContext}}:spacebar-server/"
platforms: linux/arm64
file: Dockerfile
push: true
tags: spacebarchat/server:latest-sqlite-arm64
provenance: false
- name: Build and push with postgressql arm64
uses: docker/build-push-action@v4
with:
context: "{{defaultContext}}:spacebar-server/"
platforms: linux/arm64
file: Dockerfile-prod
push: true
tags: spacebarchat/server:latest-postgressql-arm64
provenance: false
# build-arm64:
# runs-on: [ARM64]
# steps:
# - uses: actions/checkout@v3
# - name: Set up QEMU
# uses: docker/setup-qemu-action@v2
# - name: Set up Docker Buildx
# uses: docker/setup-buildx-action@v2
# - name: Login to Docker Hub
# uses: docker/login-action@v2
# with:
# username: ${{ secrets.DOCKERHUB_SPACEBAR_USERNAME }}
# password: ${{ secrets.DOCKERHUB_SPACEBAR_TOKEN }}
# - name: Build and push with sqlite arm64
# uses: docker/build-push-action@v4
# with:
# context: "{{defaultContext}}:spacebar-server/"
# platforms: linux/arm64
# file: Dockerfile
# push: true
# tags: spacebarchat/server:latest-sqlite-arm64
# provenance: false
# - name: Build and push with postgressql arm64
# uses: docker/build-push-action@v4
# with:
# context: "{{defaultContext}}:spacebar-server/"
# platforms: linux/arm64
# file: Dockerfile-prod
# push: true
# tags: spacebarchat/server:latest-postgressql-arm64
# provenance: false

0 comments on commit 5bb0b54

Please sign in to comment.