Skip to content

Commit

Permalink
fixup drone.yml once more for docker
Browse files Browse the repository at this point in the history
  • Loading branch information
hrfee committed Dec 26, 2023
1 parent 010b95a commit 46566fb
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .drone.yml
Expand Up @@ -45,6 +45,9 @@ type: docker
steps:
- name: build-deploy
image: appleboy/drone-ssh
environment:
BUILDRONE_KEY:
from_secret: BUILDRONE_KEY
settings:
host:
from_secret: ssh2_host
Expand All @@ -61,7 +64,7 @@ steps:
- /mnt/buildx/jfa-go/build.sh stable
- wget https://builds.hrfee.pw/upload.py -O /mnt/buildx/jfa-go/jfa-go/upload.py
- pip3 install requests
- bash -c 'cd /mnt/buildx/jfa-go/jfa-go && BUILDRONE_KEY=$(cat /mnt/buildx/jfa-go/key) python3 upload.py https://builds.hrfee.pw hrfee jfa-go --tag docker-stable=true'
- bash -c 'cd /mnt/buildx/jfa-go/jfa-go && python3 upload.py https://builds.hrfee.pw hrfee jfa-go --tag docker-stable=true'
- rm -f /mnt/buildx/jfa-go/jfa-go/upload.py
trigger:
event:
Expand Down

0 comments on commit 46566fb

Please sign in to comment.