Skip to content

Commit

Permalink
Make sure username is added again
Browse files Browse the repository at this point in the history
  • Loading branch information
carldanley committed Jul 23, 2023
1 parent 26918e7 commit 2520cee
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,14 @@ steps:
- name: build-and-publish
image: ghcr.io/goreleaser/goreleaser:v1.19.2
environment:
GITHUB_USERNAME:
from_secret: github-username
GITHUB_TOKEN:
from_secret: github-pat-packages
commands:
- git fetch --tags
- sleep 30000
- docker login ghcr.io -u $GITHUB_USERNAME -p $(echo $GITHUB_TOKEN)
- echo $GITHUB_TOKEN | docker login ghcr.io -u $GITHUB_USERNAME --password-stdin
- goreleaser --version
- goreleaser release --clean -f ./.goreleaser.yml
volumes:
Expand Down

0 comments on commit 2520cee

Please sign in to comment.