mount working dir with drone exec

This commit is contained in:
Brad Rydzewski
2019-10-24 16:06:57 -07:00
parent 5dc0de0e14
commit f54c3463cb
8 changed files with 257 additions and 110 deletions

View File

@@ -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: {}