mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-01-06 03:13:48 +02:00
2f6cb9d719
using the goreleaser docker container
9 lines
211 B
Bash
9 lines
211 B
Bash
#!/usr/bin/env bash
|
|
|
|
if [ -n "$DOCKER_USERNAME" ] && [ -n "$DOCKER_PASSWORD" ]; then
|
|
echo "Login to the docker..."
|
|
docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD $DOCKER_REGISTRY
|
|
fi
|
|
|
|
goreleaser $@
|