From 06159c5720384cf9dad98161e3d5ed52dcb0145b Mon Sep 17 00:00:00 2001 From: Elizabeth Hunt Date: Sun, 27 Jul 2025 23:00:25 -0700 Subject: Adds run command to packpub/npm. --- worker/scripts/npm_publish.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'worker/scripts/npm_publish.ts') diff --git a/worker/scripts/npm_publish.ts b/worker/scripts/npm_publish.ts index d0fcc68..893afdc 100644 --- a/worker/scripts/npm_publish.ts +++ b/worker/scripts/npm_publish.ts @@ -29,7 +29,7 @@ const eitherVault = Bitwarden.getConfigFromEnvironment().mapRight((config) => ne const READONLY_CREDENTIALS = { username: 'readonly', password: 'readonly' }; const REGISTRY = 'oci.liz.coffee'; -const CI_PACKPUB_IMG = 'oci.liz.coffee/emprespresso/ci_packpub_npm'; +const CI_PACKPUB_IMG = 'oci.liz.coffee/emprespresso/ci_packpub_npm:release'; const packPubMetric = Metric.fromName('npm_publish.packpub'); const _logJob = LogTraceable.of(eitherJob).flatMap(TraceUtil.withTrace('npm_publish')); @@ -72,7 +72,7 @@ await LogMetricTraceable.ofLogTraceable(_logJob) `docker login --username ${READONLY_CREDENTIALS.username} --password ${READONLY_CREDENTIALS.password} ${REGISTRY}`.split( ' ', ), - ].concat(['docker', 'run', ...prependWith(volumes, '-v'), CI_PACKPUB_IMG + ':release']); + ].concat([['docker', 'run', ...prependWith(volumes, '-v'), CI_PACKPUB_IMG]]); tEitherJobNpmRc.trace.trace(`running packpub magic~ (◕ᴗ◕✿) ${packPub}`); return tEitherJobNpmRc .move(packPub) -- cgit v1.2.3-70-g09d2