Files
helloworld/.drone.yml
C菌 56d35e09a3
Some checks are pending
continuous-integration/drone/push Build is pending
.drone.yml
2022-04-13 02:23:20 +08:00

40 lines
643 B
YAML

---
kind: pipeline
name: default
steps:
# - name: build
# image: golang:latest
# commands:
# - "pwd"
# - "cd helloworld"
- name: latest
image: thegeeklab/drone-docker-buildx
privileged: true
settings:
# registry:
repo: mirrors2/helloworld
purge: true
compress: true
platforms: linux/amd64,linux/arm64
username:
from_secret: docker_username
password:
from_secret: docker_password
# context:
dockerfile: Dockerfile
tags: latest
when:
branch:
- master
- alpine/*
event:
- tag
trigger:
branch:
- master
event:
- pull_request
- push