haven-cypress-integration 1.1.0 → 1.1.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/index.js +2 -2
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -152,7 +152,7 @@ class HavenCypressIntegration {
|
|
|
152
152
|
const ecrRepo = 'haven-test-images';
|
|
153
153
|
const ecrUri = `${accountId}.dkr.ecr.${region}.amazonaws.com/${ecrRepo}`;
|
|
154
154
|
const timestamp = new Date().toISOString().replace(/[:.]/g, '-').slice(0, 19);
|
|
155
|
-
const ecrTag = `${product}
|
|
155
|
+
const ecrTag = `${product}-${localTag.split(':')[1] || 'latest'}-${timestamp}`;
|
|
156
156
|
const fullEcrUri = `${ecrUri}:${ecrTag}`;
|
|
157
157
|
|
|
158
158
|
console.log(`🏷️ ECR tag: ${ecrTag}`);
|
|
@@ -172,7 +172,7 @@ class HavenCypressIntegration {
|
|
|
172
172
|
|
|
173
173
|
console.log(`✅ Image pushed successfully!`);
|
|
174
174
|
console.log(`📍 ECR URI: ${fullEcrUri}`);
|
|
175
|
-
console.log(`🗂️ Organization: ${
|
|
175
|
+
console.log(`🗂️ Product Organization: ${product} (tag: ${ecrTag})`);
|
|
176
176
|
|
|
177
177
|
} catch (error) {
|
|
178
178
|
console.error(`❌ Failed to push to ECR: ${error.message}`);
|