mirror of
https://github.com/basecamp/once-campfire.git
synced 2026-10-30 01:04:05 +09:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
90b330024d | ||
|
|
e5cfffda67 | ||
|
|
87ba7aa3cc |
No files matched your search
@@ -196,13 +196,14 @@ action-text-attachment[content-type~="application/vnd.actiontext.opengraph-embed
|
|||||||
color: var(--color-link);
|
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 {
|
ol {
|
||||||
margin: 0 !important;
|
margin: 0 !important;
|
||||||
padding: 0 !important;
|
padding: 0 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
li {
|
li:not(.lexxy-prompt-menu__item) {
|
||||||
margin: 0 0 0 var(--inline-space-double) !important;
|
margin: 0 0 0 var(--inline-space-double) !important;
|
||||||
padding: 0 !important;
|
padding: 0 !important;
|
||||||
}
|
}
|
||||||
|
|||||||
+14
-1
@@ -18,7 +18,8 @@ GIT_SHA = `git rev-parse HEAD`.strip
|
|||||||
MANUAL_NOTES = ARGV.delete("--notes")
|
MANUAL_NOTES = ARGV.delete("--notes")
|
||||||
VERSION = ARGV[0]
|
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_LATEST_IMAGE_NAME = [ DOCKER_IMAGE_NAME, :latest ].join(":")
|
||||||
DOCKER_TAGGED_IMAGE_NAME = [ DOCKER_IMAGE_NAME, GIT_SHA ].join(":")
|
DOCKER_TAGGED_IMAGE_NAME = [ DOCKER_IMAGE_NAME, GIT_SHA ].join(":")
|
||||||
|
|
||||||
@@ -47,6 +48,18 @@ def announcing(message)
|
|||||||
yield
|
yield
|
||||||
end
|
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
|
on(:local) do
|
||||||
builder_found = test :docker, :buildx, :inspect, BUILDER_NAME
|
builder_found = test :docker, :buildx, :inspect, BUILDER_NAME
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user