Refactor pipeline to use Drone CI
continuous-integration/drone Build is failing
Details
continuous-integration/drone Build is failing
Details
This commit renames the configuration file from .woodpecker.yml to .drone.yml and refactors the pipeline to use Drone CI. The build step now uses thegeeklab/drone-docker-buildx image with privileged access, and sets registry, repo, tags, build_args, username and password settings.
parent
2f81124c11
commit
2ea098e31a
|
@ -1,15 +1,12 @@
|
|||
matrix:
|
||||
os:
|
||||
- alpine
|
||||
- slim
|
||||
version:
|
||||
- 16
|
||||
- 18
|
||||
- 20
|
||||
platform: linux/amd64
|
||||
pipeline:
|
||||
build:
|
||||
---
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: default
|
||||
|
||||
steps:
|
||||
- name: build
|
||||
image: thegeeklab/drone-docker-buildx
|
||||
privileged: true
|
||||
settings:
|
||||
registry: techio.dev
|
||||
repo: techio.dev/${CI_REPO}
|
||||
|
@ -17,9 +14,12 @@ pipeline:
|
|||
- linux/amd64
|
||||
- linux/arm64
|
||||
tags:
|
||||
- ${version}-${os}
|
||||
- 18-alpine
|
||||
- alpine
|
||||
- 18
|
||||
- latest
|
||||
build_args:
|
||||
- tag=${version}-${os}
|
||||
- tag=18-alpine
|
||||
username: deploy
|
||||
password:
|
||||
from_secret: deploy_password
|
Loading…
Reference in New Issue