fix: do not push betafish releases to docker hub

This commit is contained in:
Jose Diaz-Gonzalez
2019-09-16 21:48:31 -04:00
parent f1ead08549
commit cd28fe69a5

View File

@@ -370,9 +370,12 @@ main() {
fn-publish-package "$IS_RELEASE" "deb" "build/dokku_${NEXT_VERSION}_amd64.deb" || log-fail "Error publishing deb package"
fn-publish-package "$IS_RELEASE" "rpm" "build/dokku-${NEXT_VERSION}-1.x86_64.rpm" || log-fail "Error publishing rpm package"
fn-build-docker-image "$NEXT_VERSION" || log-fail "Error building docker image"
docker tag "dokku/dokku:$VERSION" "dokku/dokku:latest"
docker push "dokku/dokku:$VERSION"
docker push "dokku/dokku:latest"
if [[ "$IS_RELEASE" == "true" ]]; then
docker tag "dokku/dokku:$VERSION" "dokku/dokku:latest"
docker push "dokku/dokku:$VERSION"
docker push "dokku/dokku:latest"
fi
fn-repo-push-tags "$IS_RELEASE"
fi