From 7e105a0de8d89aa140b43e91b8f57066cbe9915d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=E8=8F=8C?= Date: Wed, 13 Apr 2022 05:03:14 +0800 Subject: [PATCH] .drone.yml --- .drone.yml | 37 +++++-------------------------------- 1 file changed, 5 insertions(+), 32 deletions(-) diff --git a/.drone.yml b/.drone.yml index 65634aa..0d552d5 100644 --- a/.drone.yml +++ b/.drone.yml @@ -14,14 +14,14 @@ steps: image: plugins/docker pull: if-not-exists settings: - auto_tag: true - insecure: true - dockerfile: Dockerfile - repo: mirrors2/helloworld username: from_secret: docker_username password: - from_secret: docker_password + from_secret: docker_password + dockerfile: Dockerfile + repo: mirrors2/helloworld + auto_tag: true + insecure: true commands: - "ls" @@ -56,30 +56,3 @@ trigger: - pull_request - push ---- -kind: pipeline -name: build amd64 -platform: - os: linux - arch: amd64 -steps: -- name: build - pull: if-not-exists #always - image: golang:alpine - commands: - - "pwd && ls" - - "make docker" -- name: build docker image - image: plugins/docker - pull: if-not-exists - settings: - auto_tag: true - insecure: true - dockerfile: Dockerfile - repo: mirrors2/helloworld - username: - from_secret: docker_username - password: - from_secret: docker_password - commands: - - "ls"