You've already forked goreleaser
							
							
				mirror of
				https://github.com/goreleaser/goreleaser.git
				synced 2025-10-30 23:58:09 +02:00 
			
		
		
		
	feat: log into Github package registry with token on our docker image (#1703)
This commit is contained in:
		| @@ -14,4 +14,9 @@ if [ -n "$GORELEASER_GITHUB_TOKEN" ] ; then | |||||||
|   export GITHUB_TOKEN=$GORELEASER_GITHUB_TOKEN |   export GITHUB_TOKEN=$GORELEASER_GITHUB_TOKEN | ||||||
| fi | fi | ||||||
|  |  | ||||||
|  | if [ -n "$GITHUB_TOKEN" ]; then | ||||||
|  |   # Log into GitHub package registry | ||||||
|  |   echo $GITHUB_TOKEN | docker login docker.pkg.github.com -u docker --password-stdin | ||||||
|  | fi | ||||||
|  |  | ||||||
| goreleaser $@ | goreleaser $@ | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user