diff options
author | Elizabeth Alexander Hunt <me@liz.coffee> | 2025-05-12 09:40:12 -0700 |
---|---|---|
committer | Elizabeth Alexander Hunt <me@liz.coffee> | 2025-05-12 09:54:58 -0700 |
commit | 723fa00cb14513eb1a517728d4464c4f148a29cc (patch) | |
tree | d32e2f725397d41b3ad7f886d61c16458dde5b37 /worker/scripts/build_image | |
parent | 30729a0cf707d9022bae0a7baaba77379dc31fd5 (diff) | |
download | ci-723fa00cb14513eb1a517728d4464c4f148a29cc.tar.gz ci-723fa00cb14513eb1a517728d4464c4f148a29cc.zip |
The big refactor
Diffstat (limited to 'worker/scripts/build_image')
-rwxr-xr-x | worker/scripts/build_image | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/worker/scripts/build_image b/worker/scripts/build_image index 07c07c9..a4dcdf4 100755 --- a/worker/scripts/build_image +++ b/worker/scripts/build_image @@ -27,16 +27,16 @@ const logger = loggerWithPrefix(() => ); const run = async () => { - logger.log("Starting Docker image build job"); + logger.log("starting docker image build job~ (⑅˘꒳˘) let's make something cute!"); const bitwardenSession = new BitwardenSession(); const { username: registryUsername, password: registryPassword } = (await bitwardenSession.getItem<LoginItem>(args.registry))?.login ?? {}; if (!(registryUsername && registryPassword)) { - throw new Error("where's the login info bruh"); + throw new Error("oh nyo! can't find the login info (。•́︿•̀。)"); } - logger.log(`Logging in to Docker registry: ${args.registry}`); + logger.log(`logging in to docker registry: ${args.registry} (˘ω˘)`); await getStdout( [ "docker", @@ -63,7 +63,7 @@ const run = async () => { `${args.context}`, ]; - logger.log(`building`, tag, buildCmd); + logger.log(`building image~ (◕ᴗ◕✿)`, tag, buildCmd); await getStdout( buildCmd, { @@ -77,7 +77,7 @@ const run = async () => { "push", tag, ]; - logger.log(`pushing`, pushCmd); + logger.log(`sending image to registry~ (>ᴗ<)`, pushCmd); await getStdout(pushCmd); }; @@ -85,7 +85,7 @@ if (import.meta.main) { try { await run(); } catch (e) { - logger.error("womp womp D:", e); + logger.error("oh nyo! something went wrong with the build (´。﹏。`)", e); throw e; } } |