From b0b320615090fed65c3de7696479e5dba82b0934 Mon Sep 17 00:00:00 2001 From: Unshift Date: Fri, 22 Nov 2024 16:37:39 +0800 Subject: [PATCH] fix: test7 --- .drone.yml | 28 +++++++++++++++++++++++----- 1 file changed, 23 insertions(+), 5 deletions(-) diff --git a/.drone.yml b/.drone.yml index 5d5f515..15b0ce6 100755 --- a/.drone.yml +++ b/.drone.yml @@ -1,10 +1,28 @@ kind: pipeline -type: kubernetes -name: test +type: docker +name: testing +node_selector: + aisimu: dev-tag steps: - name: build - image: aplina - pull: if-not-exists + image: composer:latest commands: - - ls -a + - ls + - composer config -g repo.packagist composer https://mirrors.aliyun.com/composer/ + - composer install -v + + - name: deploy-push-images + depends_on: + - build + image: plugins/docker + pull: if-not-exists + settings: + repo: registry.cn-shanghai.aliyuncs.com/gong92-socl/hy-test-k8s + registry: registry.cn-shanghai.aliyuncs.com + insecure: true + username: + from_secret: aliyun_docker_name + password: + from_secret: aliyun_docker_password + dockerfile: docker/Dockerfile