.drone.yml
This commit is contained in:
22
.drone.yml
22
.drone.yml
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user