Compare commits

..

2 Commits

Author SHA1 Message Date
204c600a21 support woodpecker ci
Some checks failed
CI / Static Analysis (pre-commit) (pull_request) Successful in 1m4s
ci/woodpecker/push/image/2 Pipeline failed
CI / Tests (pull_request) Successful in 53s
ci/woodpecker/push/image/1 Pipeline failed
CI / Build and push image (map[platform:linux/arm64 runner:ubuntu-arm-latest]) (pull_request) Successful in 59s
CI / Build and push image (map[platform:linux/amd64 runner:ubuntu-latest]) (pull_request) Successful in 1m16s
CI / Create docker manifest (pull_request) Successful in 29s
2025-07-07 06:46:23 -06:00
b567d34f1c [TEU-2] feature/use-multiple-runners-for-the-multi-arch-build (#7)
All checks were successful
CI / Static Analysis (pre-commit) (push) Successful in 57s
CI / Tests (push) Successful in 42s
CI / Build and push image (map[platform:linux/arm64 runner:ubuntu-arm-latest]) (push) Successful in 59s
CI / Build and push image (map[platform:linux/amd64 runner:ubuntu-latest]) (push) Successful in 1m9s
CI / Create docker manifest (push) Successful in 25s
Reviewed-on: #7
2025-06-22 19:20:42 +00:00
2 changed files with 17 additions and 2 deletions

View File

@@ -65,6 +65,7 @@ jobs:
name: Build and push image
runs-on: ${{ matrix.arch.runner }}
strategy:
fail-fast: false
matrix:
arch:
- runner: ubuntu-latest
@@ -101,7 +102,7 @@ jobs:
annotations: ${{ steps.meta.outputs.annotations }}
target: prod
platforms: ${{ matrix.arch.platform }}
outputs: type=image,push-by-digest=true,name-canonical=true,push=true
outputs: type=image,name=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }},push-by-digest=true,name-canonical=true,push=true
- name: Export digest
run: |
mkdir -p ${{ runner.temp }}/digests
@@ -141,7 +142,6 @@ 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

15
.woodpecker/image.yml Normal file
View File

@@ -0,0 +1,15 @@
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}