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

This commit is contained in:
C菌
2022-04-13 04:29:17 +08:00
parent be07efba59
commit 0d79137a71

View File

@@ -10,30 +10,29 @@ steps:
image: golang:alpine
commands:
- "pwd && ls"
- "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
- 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: