Compare commits

..

1 Commits

Author SHA1 Message Date
d1bdbd77ca use multiple runners for the multi-arch build
Some checks failed
CI / Static Analysis (pre-commit) (pull_request) Successful in 53s
CI / Tests (pull_request) Successful in 37s
CI / Build and push image (map[platform:linux/arm64 runner:ubuntu-arm-latest]) (pull_request) Successful in 58s
CI / Build and push image (map[platform:linux/amd64 runner:ubuntu-latest]) (pull_request) Successful in 1m10s
CI / Create docker manifest (pull_request) Failing after 20s
2025-06-22 13:03:20 -06:00
2 changed files with 3 additions and 17 deletions

View File

@@ -65,7 +65,6 @@ jobs:
name: Build and push image
runs-on: ${{ matrix.arch.runner }}
strategy:
fail-fast: false
matrix:
arch:
- runner: ubuntu-latest
@@ -98,11 +97,12 @@ jobs:
id: build
uses: docker/build-push-action@v6
with:
tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
labels: ${{ steps.meta.outputs.labels }}
annotations: ${{ steps.meta.outputs.annotations }}
target: prod
platforms: ${{ matrix.arch.platform }}
outputs: type=image,name=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }},push-by-digest=true,name-canonical=true,push=true
outputs: type=image,push-by-digest=true,name-canonical=true,push=true
- name: Export digest
run: |
mkdir -p ${{ runner.temp }}/digests
@@ -142,6 +142,7 @@ jobs:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
tags: |
type=ref,event=branch
type=ref,event=pr
type=sha
- name: Create manifest list and push
working-directory: ${{ runner.temp }}/digests

View File

@@ -1,15 +0,0 @@
when:
- event: push
branch: "**"
matrix:
platform:
- linux/amd64
- linux/arm64
labels:
platform: ${platform}
steps:
- name: build
image: woodpeckerci/plugin-docker-buildx
settings:
repo: brosner.dev/brosner/teufa
tag: wpp-${platform}