ci(actions): try setting platforms for buildx

This commit is contained in:
Alexander Minkin 2024-11-15 17:47:17 +03:00
parent ec6d77b26b
commit 08c68a69e3
Signed by untrusted user: WerySkok
GPG key ID: 88E9A2F3AFE44C30

View file

@ -24,6 +24,8 @@ jobs:
- name: Set up Docker Buildx - name: Set up Docker Buildx
id: buildx id: buildx
uses: docker/setup-buildx-action@v3 uses: docker/setup-buildx-action@v3
with:
platforms: linux/${{matrix.platform}}
- name: Change repository string to lowercase - name: Change repository string to lowercase
id: repositorystring id: repositorystring
@ -77,6 +79,8 @@ jobs:
- name: Set up Docker Buildx - name: Set up Docker Buildx
id: buildx id: buildx
uses: docker/setup-buildx-action@v3 uses: docker/setup-buildx-action@v3
with:
platforms: linux/${{matrix.platform}}
- name: Change repository string to lowercase - name: Change repository string to lowercase
id: repositorystring id: repositorystring
@ -130,7 +134,6 @@ jobs:
file: install/automated/docker/mariadb-primary.Dockerfile file: install/automated/docker/mariadb-primary.Dockerfile
tags: ${{ steps.db-primarymeta.outputs.tags }} tags: ${{ steps.db-primarymeta.outputs.tags }}
labels: ${{ steps.db-primarymeta.outputs.labels }} labels: ${{ steps.db-primarymeta.outputs.labels }}
provenance: false # workaround, see https://github.com/orgs/community/discussions/45969
build-args: | build-args: |
VERSION=${{env.DB_VERSION}} VERSION=${{env.DB_VERSION}}
@ -142,6 +145,5 @@ jobs:
file: install/automated/docker/mariadb-eventdb.Dockerfile file: install/automated/docker/mariadb-eventdb.Dockerfile
tags: ${{ steps.db-eventmeta.outputs.tags }} tags: ${{ steps.db-eventmeta.outputs.tags }}
labels: ${{ steps.db-eventmeta.outputs.labels }} labels: ${{ steps.db-eventmeta.outputs.labels }}
provenance: false # workaround, see https://github.com/orgs/community/discussions/45969
build-args: | build-args: |
VERSION=${{env.DB_VERSION}} VERSION=${{env.DB_VERSION}}