fix naming conflict with goreleaser, add buildrone key to other steps

This commit is contained in:
Harvey Tindall
2021-03-07 15:54:32 +00:00
parent 92332206f0
commit eb8f2777ae
6 changed files with 40 additions and 4 deletions
+6
View File
@@ -11,6 +11,8 @@ steps:
- name: release
image: golang:latest
environment:
BUILDRONE_KEY:
from_secret: BUILDRONE_KEY
GITHUB_TOKEN:
from_secret: github_token
commands:
@@ -49,6 +51,8 @@ steps:
- /root/.ssh/docker-build:/root/drone_rsa
key_path: /root/drone_rsa
command_timeout: 50m
envs:
- BUILDRONE_KEY
script:
- /mnt/buildx/jfa-go/build.sh stable
- wget https://builds.hrfee.pw/upload.py
@@ -112,6 +116,8 @@ steps:
from_secret: ssh2_port
volumes:
- /root/.ssh/docker-build:/root/drone_rsa
envs:
- BUILDRONE_KEY
key_path: /root/drone_rsa
command_timeout: 50m
script: