.drone.yml

This commit is contained in:
C菌
2022-04-13 02:13:58 +08:00
parent 32f45d228f
commit 84fd76293e

View File

@@ -9,20 +9,26 @@ steps:
# - "pwd" # - "pwd"
# - "cd helloworld" # - "cd helloworld"
- name: docker - name: latest
image: plugins/docker image: thegeeklab/drone-docker-buildx
privileged: true
settings: settings:
# registry:
repo: mirrors2/helloworld
purge: true
compress: true
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
repo: mirrors2/helloworld # context:
commands:
- "pwd && ls"
# context: helloworld
dockerfile: Dockerfile dockerfile: Dockerfile
tags: tags: latest
- latest when:
branch:
- master
- alpine/*
trigger: trigger:
branch: branch: