Skip to content

Commit

Permalink
More architecture cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Kaiede committed Apr 24, 2024
1 parent bed3344 commit 4ab15e7
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
name: Docker - ${{ matrix.os }}
if: github.repository == 'Kaiede/Bedrockifier'
env:
ARCH: ${{ matrix.os == 'ubuntu-latest' && 'linux/amd64' || 'linux/arm64' }}
arch: ${{ matrix.os == 'ubuntu-latest' && 'amd64' || 'arm64' }}
strategy:
matrix:
os: ['ubuntu-latest', 'buildjet-2vcpu-ubuntu-2204-arm']
Expand All @@ -38,18 +38,18 @@ jobs:
username: ${{ secrets.DOCKER_USER }}
password: ${{ secrets.DOCKER_PASSWORD }}

- name: Build ${{ env.ARCH }}
- name: Build ${{ env.arch }}
uses: docker/build-push-action@v5
with:
builder: ${{ steps.buildx.outputs.name }}
context: .
file: ./Docker/Dockerfile
platforms: ${{ env.ARCH }}
platforms: linux/${{ env.arch }}
push: ${{ github.event_name != 'pull_request' }}
tags: kaiede/minecraft-bedrock-backup:${{ env.docker_tag }}-${{ env.ARCH }}
tags: kaiede/minecraft-bedrock-backup:${{ env.docker_tag }}-${{ env.arch }}
build-args: |
QEMU_CPU=max
arch=${{ env.ARCH }}
arch=${{ env.arch }}
swift_base=${{ env.swift_base }}
swift_version=${{ env.swift_version }}
Expand Down

0 comments on commit 4ab15e7

Please sign in to comment.