ci(actions): unparallel builds (#1217)

this should fix linux/amd64 showing up as unknown/unknown on ghcr
This commit is contained in:
Alexander Minkin 2025-01-28 20:41:26 +03:00 committed by GitHub
parent b713c964a3
commit 7fe0c6a122
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -6,14 +6,11 @@ env:
BASE_IMAGE_NAME: openvk
DB_IMAGE_NAME: mariadb
EVENT_IMAGE_NAME: mariadb
DB_VERSION: "10.9"
DB_VERSION: '10.9'
jobs:
buildbase:
name: Build base images
strategy:
matrix:
platform: [amd64, arm64]
runs-on: ubuntu-latest
@ -24,6 +21,8 @@ jobs:
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v3
with:
platforms: linux/amd64,linux/arm64
- name: Change repository string to lowercase
id: repositorystring
@ -53,7 +52,7 @@ jobs:
- name: Build base image
uses: docker/build-push-action@v6
with:
platforms: linux/${{matrix.platform}}
platforms: linux/amd64,linux/arm64
file: install/automated/docker/openvk.Dockerfile
tags: ${{ steps.basemeta.outputs.tags }}
labels: ${{ steps.basemeta.outputs.labels }}
@ -63,9 +62,6 @@ jobs:
builddb:
name: Build DB images
strategy:
matrix:
platform: [amd64, arm64]
runs-on: ubuntu-latest
@ -76,6 +72,8 @@ jobs:
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v3
with:
platforms: linux/amd64,linux/arm64
- name: Change repository string to lowercase
id: repositorystring
@ -125,7 +123,7 @@ jobs:
uses: docker/build-push-action@v6
with:
push: ${{ github.event_name != 'pull_request' }}
platforms: linux/${{matrix.platform}}
platforms: linux/amd64,linux/arm64
file: install/automated/docker/mariadb-primary.Dockerfile
tags: ${{ steps.db-primarymeta.outputs.tags }}
labels: ${{ steps.db-primarymeta.outputs.labels }}
@ -136,7 +134,7 @@ jobs:
uses: docker/build-push-action@v6
with:
push: ${{ github.event_name != 'pull_request' }}
platforms: linux/${{matrix.platform}}
platforms: linux/amd64,linux/arm64
file: install/automated/docker/mariadb-eventdb.Dockerfile
tags: ${{ steps.db-eventmeta.outputs.tags }}
labels: ${{ steps.db-eventmeta.outputs.labels }}