mount working dir with drone exec
This commit is contained in:
36
.drone.yml
36
.drone.yml
@@ -26,7 +26,7 @@ steps:
|
||||
- push
|
||||
- tag
|
||||
|
||||
- name: publish
|
||||
- name: publish_amd64
|
||||
image: plugins/docker
|
||||
pull: if-not-exists
|
||||
settings:
|
||||
@@ -43,6 +43,40 @@ steps:
|
||||
- refs/heads/master
|
||||
- refs/tags/*
|
||||
|
||||
- name: publish_arm
|
||||
image: plugins/docker
|
||||
pull: if-not-exists
|
||||
settings:
|
||||
repo: drone/drone-runner-docker
|
||||
auto_tag: true
|
||||
auto_tag_suffix: linux-arm
|
||||
dockerfile: docker/Dockerfile.linux.arm
|
||||
username:
|
||||
from_secret: docker_username
|
||||
password:
|
||||
from_secret: docker_password
|
||||
when:
|
||||
ref:
|
||||
- refs/heads/master
|
||||
- refs/tags/*
|
||||
|
||||
- name: publish_arm64
|
||||
image: plugins/docker
|
||||
pull: if-not-exists
|
||||
settings:
|
||||
repo: drone/drone-runner-docker
|
||||
auto_tag: true
|
||||
auto_tag_suffix: linux-arm
|
||||
dockerfile: docker/Dockerfile.linux.arm64
|
||||
username:
|
||||
from_secret: docker_username
|
||||
password:
|
||||
from_secret: docker_password
|
||||
when:
|
||||
ref:
|
||||
- refs/heads/master
|
||||
- refs/tags/*
|
||||
|
||||
volumes:
|
||||
- name: go
|
||||
temp: {}
|
||||
|
||||
Reference in New Issue
Block a user