Sha256: f6ea784ea9cb3d0413ef016156f181343f5fdfb15373a67319efaf49eb4ce7a3

Contents?: true

Size: 507 Bytes

Versions: 1

Compression:

Stored size: 507 Bytes

Contents

#!/bin/bash
export docker_release_tags="latest 0.1.1"
docker login --username "${DOCKER_USER}" --password "${DOCKER_TOKEN}"
if [ "${CIRCLE_BRANCH}" == "master" ]; then
    for tag in ${docker_release_tags// / } ; do
        docker tag "dgroup/lazylead:${CIRCLE_BRANCH}" "dgroup/lazylead:${tag}"
        docker push "dgroup/lazylead:${tag}"
        echo "dgroup/lazylead:${tag} released"
    done
else
    docker push "dgroup/lazylead:${CIRCLE_BRANCH}"
    echo "dgroup/lazylead:${CIRCLE_BRANCH} released"
fi

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
lazylead-0.1.1 .circleci/release_image.sh