1
0
Fork 0

Refactor pipeline to use new Docker build plugin
ci/woodpecker/push/woodpecker Pipeline failed Details

This commit removes the old Docker plugin and replaces it with a new one that supports multi-architecture builds. The `platform` field was removed from the matrix, and the `build` step was replaced with `${version}-${os}`. The new plugin also uses different settings for `repo`, `platforms`, and `username`.
main
naicoi 2023-05-18 14:40:45 +07:00
parent 5fddcc0b14
commit 6795fc2486
Signed by: naicoi
GPG Key ID: 7142E472DF7CF7D9
1 changed files with 7 additions and 12 deletions

View File

@ -1,7 +1,4 @@
matrix: matrix:
platform:
- amd64
- arm64
os: os:
- alpine - alpine
- slim - slim
@ -10,18 +7,16 @@ matrix:
- 18 - 18
- 20 - 20
platform: linux/${platform}
pipeline: pipeline:
build: ${version}-${os}:
image: plugins/docker image: woodpeckerci/plugin-docker-buildx
settings: settings:
registry: techio.dev repo: lttech/pm2
repo: techio.dev/${CI_REPO} platforms: linux/amd64,linux/arm64/v8
tags: tags:
- ${version}-${os}-${platform} - ${version}-${os}
build_args: build_args:
- tag=${version}-${os} - tag=${version}-${os}
username: deploy username: lttech
password: password:
from_secret: deploy_password from_secret: docker_lttech