Files
helloworld/.drone.yml
2022-04-13 02:06:23 +08:00

32 lines
497 B
YAML

---
kind: pipeline
name: default
steps:
# - name: build
# image: golang:latest
# commands:
# - "pwd"
# - "cd helloworld"
- name: docker
image: plugins/docker
settings:
username:
from_secret: docker_username
password:
from_secret: docker_password
repo: mirrors2/helloworld
commands:
- "pwd && ls"
# context: helloworld
dockerfile: Dockerfile
tags:
- latest
trigger:
branch:
- master
event:
- pull_request
- push