Skip to content

Commit

Permalink
Revert "Add Platform linux/arm64 to Docker Build (#10441)" (#10477)
Browse files Browse the repository at this point in the history
This reverts commit 4a37203.
  • Loading branch information
chris48s authored Aug 26, 2024
1 parent 84897f3 commit e001e94
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 17 deletions.
7 changes: 0 additions & 7 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@ jobs:
contains(github.event.pull_request.labels.*.name, 'release')
runs-on: ubuntu-latest
strategy:
matrix:
architecture: [amd64, arm64]

steps:
- name: Get current date
Expand All @@ -39,8 +36,6 @@ jobs:

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
with:
platforms: linux/${{ matrix.architecture }}

- name: Login to DockerHub
uses: docker/login-action@v3
Expand All @@ -53,7 +48,6 @@ jobs:
with:
context: .
push: true
platforms: linux/${{ matrix.architecture }}
tags: shieldsio/shields:server-${{ steps.date.outputs.date }}
build-args: |
version=server-${{ steps.date.outputs.date }}
Expand All @@ -70,7 +64,6 @@ jobs:
with:
context: .
push: true
platforms: linux/${{ matrix.architecture }}
tags: ghcr.io/badges/shields:server-${{ steps.date.outputs.date }}
build-args: |
version=server-${{ steps.date.outputs.date }}
8 changes: 0 additions & 8 deletions .github/workflows/publish-docker-next.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,12 @@ permissions:
jobs:
publish-docker-next:
runs-on: ubuntu-latest
strategy:
matrix:
architecture: [amd64, arm64]

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
with:
platforms: linux/${{ matrix.architecture }}

- name: Login to DockerHub
uses: docker/login-action@v3
Expand All @@ -38,7 +32,6 @@ jobs:
with:
context: .
push: true
platforms: linux/${{ matrix.architecture }}
tags: shieldsio/shields:next
build-args: |
version=${{ env.SHORT_SHA }}
Expand All @@ -58,7 +51,6 @@ jobs:
with:
context: .
push: true
platforms: linux/${{ matrix.architecture }}
tags: ghcr.io/badges/shields:next
build-args: |
version=${{ env.SHORT_SHA }}
2 changes: 0 additions & 2 deletions doc/self-hosting.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,6 @@ $ docker pull ghcr.io/badges/shields:next
$ docker pull ghcr.io/badges/shields:next
```

We push both linux/amd64 and linux/arm64 images. We use the linux/amd64 image ourselves to host shields.io. We push a linux/arm64 image, but we don't consume it ourselves and it receives no testing beyond ensuring the docker image builds without error.

### Building Docker Image Locally

Alternatively, you can build and run the server locally using Docker. First build an image:
Expand Down

0 comments on commit e001e94

Please sign in to comment.