ci: docker login before running goreleaser
Some checks reported errors
continuous-integration/drone/push Build was killed
continuous-integration/drone/tag Build was killed

This commit is contained in:
Marvin Preuss 2021-10-20 14:41:27 +02:00
parent 27367b888f
commit db802b464e

View File

@ -84,6 +84,7 @@ steps:
GITHUB_TOKEN: GITHUB_TOKEN:
from_secret: github_token from_secret: github_token
commands: commands:
- /bin/sh -c "echo $GITHUB_TOKEN | docker login ghcr.io -u xsteadfastx --password-stdin"
- docker ps -a - docker ps -a
- goreleaser release --rm-dist - goreleaser release --rm-dist
depends_on: depends_on: