This commit is contained in:
44
.drone.yml
44
.drone.yml
@@ -9,28 +9,28 @@ steps:
|
|||||||
- "pwd && ls"
|
- "pwd && ls"
|
||||||
- "cd helloworld"
|
- "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