0
0

Revert "attempt matrix build (#9927)" (#9930)

This reverts commit 192ea9738d.
This commit is contained in:
Kohei Ota (inductor) 2023-02-14 15:00:50 +09:00 committed by GitHub
parent 192ea9738d
commit c1f1e0ee7c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 10 deletions

View File

@ -11,9 +11,6 @@ jobs:
name: Push Docker image to Docker Hub name: Push Docker image to Docker Hub
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: github.repository == 'misskey-dev/misskey' if: github.repository == 'misskey-dev/misskey'
strategy:
matrix:
arch: [linux/amd64, linux/arm64]
steps: steps:
- name: Check out the repo - name: Check out the repo
uses: actions/checkout@v3.3.0 uses: actions/checkout@v3.3.0
@ -21,7 +18,7 @@ jobs:
id: buildx id: buildx
uses: docker/setup-buildx-action@v2.3.0 uses: docker/setup-buildx-action@v2.3.0
with: with:
platforms: ${{ matrix.arch }} platforms: linux/amd64,linux/arm64
- name: Docker meta - name: Docker meta
id: meta id: meta
uses: docker/metadata-action@v4 uses: docker/metadata-action@v4
@ -38,7 +35,7 @@ jobs:
builder: ${{ steps.buildx.outputs.name }} builder: ${{ steps.buildx.outputs.name }}
context: . context: .
push: true push: true
platforms: ${{ matrix.arch }} platforms: ${{ steps.buildx.outputs.platforms }}
provenance: false provenance: false
tags: misskey/misskey:develop tags: misskey/misskey:develop
labels: develop labels: develop

View File

@ -9,9 +9,7 @@ jobs:
push_to_registry: push_to_registry:
name: Push Docker image to Docker Hub name: Push Docker image to Docker Hub
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy:
matrix:
arch: [linux/amd64, linux/arm64]
steps: steps:
- name: Check out the repo - name: Check out the repo
uses: actions/checkout@v3.3.0 uses: actions/checkout@v3.3.0
@ -19,7 +17,7 @@ jobs:
id: buildx id: buildx
uses: docker/setup-buildx-action@v2.3.0 uses: docker/setup-buildx-action@v2.3.0
with: with:
platforms: ${{ matrix.arch }} platforms: linux/amd64,linux/arm64
- name: Docker meta - name: Docker meta
id: meta id: meta
uses: docker/metadata-action@v4 uses: docker/metadata-action@v4
@ -43,7 +41,7 @@ jobs:
builder: ${{ steps.buildx.outputs.name }} builder: ${{ steps.buildx.outputs.name }}
context: . context: .
push: true push: true
platforms: ${{ matrix.arch }} platforms: ${{ steps.buildx.outputs.platforms }}
provenance: false provenance: false
tags: ${{ steps.meta.outputs.tags }} tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }} labels: ${{ steps.meta.outputs.labels }}