.drone.yml
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
C菌
2022-04-13 05:03:14 +08:00
parent 2689deaf65
commit 7e105a0de8

View File

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