mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2025-02-01 00:45:23 +00:00
Merge pull request #983 from balena-io/fix-circle
Fix circle deploying of images
This commit is contained in:
commit
33dd338033
@ -39,10 +39,10 @@ defaults: &defaults
|
||||
command: |
|
||||
VERSION_TAG_NO_DEBUG=v$(jq --raw-output .version package.json)
|
||||
GIT_TAG=$(git describe --tags | grep -E '^v[0-9]+\.[0-9]+\.[0-9]+$' || echo "")
|
||||
VERSION_TAG="${VERSION_TAG_NO_DEBUG}${DEBUG}"
|
||||
if [ "${VERSION_TAG_NO_DEBUG}" = "${GIT_TAG}" ]; then
|
||||
export EXTRA_TAG=$VERSION_TAG$DEBUG
|
||||
export EXTRA_TAG="${VERSION_TAG}"
|
||||
fi
|
||||
VERSION_TAG=${VERSION_TAG_NO_DEBUG}${DEBUG}
|
||||
echo "Starting build.sh"
|
||||
if [ "$DOCKER_PASSWORD" != "" ]; then
|
||||
docker login --username $DOCKER_USERNAME --password $DOCKER_PASSWORD
|
||||
|
Loading…
x
Reference in New Issue
Block a user