Refactor pipeline to use new Docker build plugin
ci/woodpecker/push/woodpecker Pipeline failed
Details
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
parent
5fddcc0b14
commit
6795fc2486
|
@ -1,7 +1,4 @@
|
|||
matrix:
|
||||
platform:
|
||||
- amd64
|
||||
- arm64
|
||||
os:
|
||||
- alpine
|
||||
- slim
|
||||
|
@ -10,18 +7,16 @@ matrix:
|
|||
- 18
|
||||
- 20
|
||||
|
||||
platform: linux/${platform}
|
||||
|
||||
pipeline:
|
||||
build:
|
||||
image: plugins/docker
|
||||
${version}-${os}:
|
||||
image: woodpeckerci/plugin-docker-buildx
|
||||
settings:
|
||||
registry: techio.dev
|
||||
repo: techio.dev/${CI_REPO}
|
||||
repo: lttech/pm2
|
||||
platforms: linux/amd64,linux/arm64/v8
|
||||
tags:
|
||||
- ${version}-${os}-${platform}
|
||||
- ${version}-${os}
|
||||
build_args:
|
||||
- tag=${version}-${os}
|
||||
username: deploy
|
||||
username: lttech
|
||||
password:
|
||||
from_secret: deploy_password
|
||||
from_secret: docker_lttech
|
||||
|
|
Loading…
Reference in New Issue