This commit is contained in:
45
.drone.yml
45
.drone.yml
@@ -10,30 +10,29 @@ steps:
|
|||||||
image: golang:alpine
|
image: golang:alpine
|
||||||
commands:
|
commands:
|
||||||
- "pwd && ls"
|
- "pwd && ls"
|
||||||
- "cd helloworld"
|
|
||||||
|
|
||||||
# - name: latest
|
- name: latest
|
||||||
# image: thegeeklab/drone-docker-buildx
|
image: thegeeklab/drone-docker-buildx
|
||||||
# privileged: true
|
privileged: true
|
||||||
# settings:
|
settings:
|
||||||
# # registry:
|
# registry:
|
||||||
# repo: mirrors2/helloworld
|
repo: mirrors2/helloworld
|
||||||
# purge: true
|
purge: true
|
||||||
# compress: true
|
compress: true
|
||||||
# platforms: linux/amd64,linux/arm64
|
platforms: linux/amd64,linux/arm64
|
||||||
# username:
|
username:
|
||||||
# from_secret: docker_username
|
from_secret: docker_username
|
||||||
# password:
|
password:
|
||||||
# from_secret: docker_password
|
from_secret: docker_password
|
||||||
# # context:
|
# context:
|
||||||
# dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
# tags: latest
|
tags: latest
|
||||||
# when:
|
when:
|
||||||
# branch:
|
branch:
|
||||||
# - master
|
- master
|
||||||
# - alpine/*
|
- alpine/*
|
||||||
# event:
|
event:
|
||||||
# - tag
|
- tag
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
branch:
|
branch:
|
||||||
|
|||||||
Reference in New Issue
Block a user