haven-cypress-integration 1.6.1 → 1.6.2

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.
Files changed (2) hide show
  1. package/index.js +4 -4
  2. package/package.json +2 -2
package/index.js CHANGED
@@ -38,7 +38,7 @@ class HavenCypressIntegration {
38
38
 
39
39
  // Build Docker image
40
40
  console.log('🏗️ Building Docker image...');
41
- execSync(`docker build -t ${tag} .`, {
41
+ execSync(`podman build -t ${tag} .`, {
42
42
  cwd: buildDir,
43
43
  stdio: 'inherit'
44
44
  });
@@ -191,16 +191,16 @@ class HavenCypressIntegration {
191
191
 
192
192
  // Login to ECR
193
193
  console.log('🔐 Logging in to ECR...');
194
- const loginCmd = `aws ecr get-login-password --region ${region} | docker login --username AWS --password-stdin ${ecrUri}`;
194
+ const loginCmd = `aws ecr get-login-password --region ${region} | podman login --username AWS --password-stdin ${ecrUri}`;
195
195
  execSync(loginCmd, { stdio: 'inherit' });
196
196
 
197
197
  // Tag image for ECR
198
198
  console.log(`🏷️ Tagging image: ${localTag} -> ${fullEcrUri}`);
199
- execSync(`docker tag ${localTag} ${fullEcrUri}`, { stdio: 'inherit' });
199
+ execSync(`podman tag ${localTag} ${fullEcrUri}`, { stdio: 'inherit' });
200
200
 
201
201
  // Push to ECR
202
202
  console.log(`📤 Pushing to ECR: ${fullEcrUri}`);
203
- execSync(`docker push ${fullEcrUri}`, { stdio: 'inherit' });
203
+ execSync(`podman push ${fullEcrUri}`, { stdio: 'inherit' });
204
204
 
205
205
  console.log(`✅ Image pushed successfully!`);
206
206
  console.log(`📍 ECR URI: ${fullEcrUri}`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "haven-cypress-integration",
3
- "version": "1.6.1",
3
+ "version": "1.6.2",
4
4
  "description": "Seamless Cypress integration with HAVEN test case management",
5
5
  "main": "index.js",
6
6
  "bin": {
@@ -23,4 +23,4 @@
23
23
  "engines": {
24
24
  "node": ">=14.0.0"
25
25
  }
26
- }
26
+ }