Revert "Add docker auto-build for ARM64 (#373)" (#392)

This reverts commit ea6382faa13c97b75b1b940dc1d709fcfa9023a0.
This commit is contained in:
Will Hunt 2022-06-30 12:01:33 +01:00 committed by GitHub
parent d940e79b39
commit 7c415ad376
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 15 deletions

View File

@ -7,7 +7,7 @@ on:
env:
DOCKER_NAMESPACE: halfshot
PLATFORMS: linux/amd64,linux/arm64
PLATFORMS: linux/amd64
# Only push if this is main, otherwise we just want to build
PUSH: ${{ github.ref == 'refs/heads/main' }}
@ -17,17 +17,13 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Log in to Docker Hub
uses: docker/login-action@v2
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_TOKEN }}
- name: Build image
uses: docker/build-push-action@v3
uses: docker/build-push-action@v2
with:
context: .
file: ./Dockerfile

View File

@ -8,7 +8,7 @@ on:
env:
DOCKER_NAMESPACE: halfshot
PLATFORMS: linux/amd64,linux/arm64
PLATFORMS: linux/amd64
jobs:
docker-release:
@ -18,17 +18,13 @@ jobs:
uses: actions/checkout@v2
- name: Get release tag
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Log in to Docker Hub
uses: docker/login-action@v2
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_TOKEN }}
- name: Build image
uses: docker/build-push-action@v3
uses: docker/build-push-action@v2
with:
context: .
file: ./Dockerfile

View File

@ -1 +0,0 @@
Add support for ARM64 docker images.