diff --git a/.drone.yml b/.drone.yml index d829a57..ce25073 100644 --- a/.drone.yml +++ b/.drone.yml @@ -11,15 +11,15 @@ steps: - chmod +x ./build.sh - ./build.sh -#- name: docker -# image: plugins/docker -# settings: -# repo: fbrinker/tileboard -# username: -# from_secret: docker_username -# password: -# from_secret: docker_password - +- name: docker + image: plugins/docker + settings: + repo: fbrinker/tileboard + username: + from_secret: docker_username + password: + from_secret: docker_password + trigger: branch: - master \ No newline at end of file diff --git a/build.sh b/build.sh index 696f499..e923cab 100755 --- a/build.sh +++ b/build.sh @@ -34,7 +34,7 @@ if [ "$LATEST_RELEASE" = "$LATEST_TAG" ]; then echo "Tag: $LATEST_TAG" exit 78 # drone.io exit code to stop but success the pipeline fi - +exit 1 SEMVER=( ${LATEST_RELEASE//./ } ) MAJOR=${SEMVER[0]} MINOR=${SEMVER[0]}.${SEMVER[1]}