This commit is contained in:
37
.drone.yml
37
.drone.yml
@@ -14,14 +14,14 @@ steps:
|
|||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
pull: if-not-exists
|
pull: if-not-exists
|
||||||
settings:
|
settings:
|
||||||
auto_tag: true
|
|
||||||
insecure: true
|
|
||||||
dockerfile: Dockerfile
|
|
||||||
repo: mirrors2/helloworld
|
|
||||||
username:
|
username:
|
||||||
from_secret: docker_username
|
from_secret: docker_username
|
||||||
password:
|
password:
|
||||||
from_secret: docker_password
|
from_secret: docker_password
|
||||||
|
dockerfile: Dockerfile
|
||||||
|
repo: mirrors2/helloworld
|
||||||
|
auto_tag: true
|
||||||
|
insecure: true
|
||||||
commands:
|
commands:
|
||||||
- "ls"
|
- "ls"
|
||||||
|
|
||||||
@@ -56,30 +56,3 @@ trigger:
|
|||||||
- pull_request
|
- pull_request
|
||||||
- push
|
- 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"
|
|
||||||
|
|||||||
Reference in New Issue
Block a user