diff --git a/app/assets/stylesheets/actiontext.css b/app/assets/stylesheets/actiontext.css index 06c4b59..6fcd535 100644 --- a/app/assets/stylesheets/actiontext.css +++ b/app/assets/stylesheets/actiontext.css @@ -196,13 +196,14 @@ action-text-attachment[content-type~="application/vnd.actiontext.opengraph-embed color: var(--color-link); } - ul, + /* The composer's mention menu is a list inside the editor too, and keeps Lexxy's own spacing */ + ul:not(.lexxy-prompt-menu), ol { margin: 0 !important; padding: 0 !important; } - li { + li:not(.lexxy-prompt-menu__item) { margin: 0 0 0 var(--inline-space-double) !important; padding: 0 !important; } diff --git a/bin/release b/bin/release index 5c3cdd3..127a649 100755 --- a/bin/release +++ b/bin/release @@ -18,7 +18,8 @@ GIT_SHA = `git rev-parse HEAD`.strip MANUAL_NOTES = ARGV.delete("--notes") VERSION = ARGV[0] -DOCKER_IMAGE_NAME = "registry.once.com/campfire" +DOCKER_REGISTRY = "registry.once.com" +DOCKER_IMAGE_NAME = "#{DOCKER_REGISTRY}/campfire" DOCKER_LATEST_IMAGE_NAME = [ DOCKER_IMAGE_NAME, :latest ].join(":") DOCKER_TAGGED_IMAGE_NAME = [ DOCKER_IMAGE_NAME, GIT_SHA ].join(":") @@ -47,6 +48,18 @@ def announcing(message) yield end +announcing "Checking #{DOCKER_REGISTRY} login..." do + unless system "docker", "manifest", "inspect", DOCKER_LATEST_IMAGE_NAME, out: File::NULL, err: File::NULL + abort <<~MESSAGE + Not logged in to #{DOCKER_REGISTRY}. Run: + + docker login #{DOCKER_REGISTRY} + + The credentials are in the "chatinabox" entry in 1Password. + MESSAGE + end +end + on(:local) do builder_found = test :docker, :buildx, :inspect, BUILDER_NAME