1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-01-06 03:13:48 +02:00
goreleaser/scripts/entrypoint.sh
Eelco 2f6cb9d719 feat: Allows pushing to private registry (#893)
using the goreleaser docker container
2018-12-10 13:45:01 -02:00

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 $@