From c8f02c1102a547311b16008374ca6f04a110aa21 Mon Sep 17 00:00:00 2001 From: Thephaseless Date: Sun, 24 Nov 2024 22:50:04 +0000 Subject: [PATCH] run test on x64 and build with buildx --- .github/workflows/docker-publish.yml | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index c35b8b4..a7336eb 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -23,12 +23,6 @@ env: jobs: test: - strategy: - fail-fast: false - matrix: - platform: - - linux/amd64 - - linux/arm64 runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 @@ -64,11 +58,6 @@ jobs: run: poetry run pytest build: - strategy: - matrix: - platform: - - linux/amd64 - - linux/arm64 needs: test runs-on: ubuntu-latest permissions: @@ -131,7 +120,7 @@ jobs: push: ${{ github.event_name != 'pull_request' }} tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} - platforms: ${{ matrix.platform }} + platforms: linux/amd64,linux/arm64 cache-from: type=gha cache-to: type=gha,mode=max build-args: GITHUB_BUILD=true