1
0
Fork 0

Refactor pipeline to use Drone CI
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.
naicoi 2023-05-18 01:33:07 +07:00
parent 2f81124c11
commit 2ea098e31a
Signed by: naicoi
GPG Key ID: 7142E472DF7CF7D9
1 changed files with 13 additions and 13 deletions

View File

@ -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