@catladder/pipeline 1.114.0 → 1.114.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@catladder/pipeline",
3
- "version": "1.114.0",
3
+ "version": "1.114.1",
4
4
  "scripts": {
5
5
  "build:tsc": "yarn tsc",
6
6
  "build": "yarn build:compile && yarn build:inline-variables && yarn build:bundle",
@@ -46,7 +46,16 @@ export const createGoogleCloudRunDeployJobs = (
46
46
 
47
47
  const fullAppName = `${context.fullConfig.customerName}-${context.fullConfig.appName}`;
48
48
  const dockerUrl = `${deployConfig.region}-docker.pkg.dev/${deployConfig.projectId}/catladder-deploy/${fullAppName}`;
49
- const gcloudImageName = `${dockerUrl}/${context.environment.shortName}/${context.componentName}:$DOCKER_IMAGE_TAG`;
49
+ const gcloudImagePath = [
50
+ dockerUrl,
51
+ context.environment.shortName,
52
+ context.componentName,
53
+
54
+ ...(context.environment.envType === "review"
55
+ ? [context.commitInfo?.reviewSlug]
56
+ : []),
57
+ ];
58
+ const gcloudImageName = `${gcloudImagePath.join("/")}:$DOCKER_IMAGE_TAG`;
50
59
 
51
60
  const pushImageToArtifactsRegistry = [
52
61
  gitlabDockerLogin,