drone-github-release
drone-github-release copied to clipboard
The plugin failed silently with the latest docker image
Before the release publish on the docker hub 6/16/2020 at 6:36 pm
hash fa70c21cc997880d9d43a7bbcc6cfc580b612b6e5186bc9d84c29e3663da29b1
it was working. Now my publish task fail silently with no error message.
latest: Pulling from plugins/github-release
Digest: sha256:fa70c21cc997880d9d43a7bbcc6cfc580b612b6e5186bc9d84c29e3663da29b1
Status: Image is up to date for plugins/github-release:latest
Sample config
- name: publish
image: plugins/github-release
volumes:
- name: output
path: /drone/src/output
settings:
api_key:
from_secret: GITHUB_API_KEY
files:
- output/images/*.img.gz
checksum:
- sha256
draft: true
prerelease: true
when:
event: tag
Take a look => https://arm-build.yunohost.org/YunoHost/arm-images/22/1/10
Working with the version tagged plugins/github-release:1
and the an other one with hash 204e1fbad9d543890e7ed7c28d20dfc1cab659df88c659dda5add5208fa74f4d
( gone because not tagged )
@donny-dont any idea what's up here?
Ok I suspect a file path issues, because I mount output
in /drone/src/output
but I think the default WORKDIR
have changed ?
I don't remember where I came to the point of using /drone/src
which is weird.
...
Digging
...
Ok now I remember it's the default workspace in Drone.
Maybe the new version of the plugin ignore workspace or not have the default /drone/src
?
Anyway if the return of the go program !== 0 we must have a error message.
Can you just try this in a drone exec
situation to help narrow things down. There was no major refactor of this code so all the checks should be there. If it did hit an error then it should print out something.