mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2025-04-12 21:52:57 +00:00
Fix circle deploying of images
Change-type: patch Signed-off-by: Cameron Diver <cameron@balena.io>
This commit is contained in:
parent
22f69ca181
commit
954434fc4c
@ -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