@toptal/davinci-ci 2.0.13-alpha-fx-3146-render-results-in-modal.45 → 2.0.13-alpha-fx-2153-add-actions-tracking-1e8eff98.21

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": "@toptal/davinci-ci",
3
- "version": "2.0.13-alpha-fx-3146-render-results-in-modal.45+a5e76daa",
3
+ "version": "2.0.13-alpha-fx-2153-add-actions-tracking-1e8eff98.21+1e8eff98",
4
4
  "description": "Continuos integrations tools for frontend projects",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -32,9 +32,9 @@
32
32
  "dependencies": {
33
33
  "@commitlint/cli": "^17.0.2",
34
34
  "@commitlint/config-conventional": "^17.1.0",
35
- "@toptal/davinci-cli-shared": "1.8.2-alpha-fx-3146-render-results-in-modal.45+a5e76daa",
35
+ "@toptal/davinci-cli-shared": "1.8.2-alpha-fx-2153-add-actions-tracking-1e8eff98.21+1e8eff98",
36
36
  "danger": "^11.0.7",
37
37
  "markdown-table": "^2.0.0"
38
38
  },
39
- "gitHead": "a5e76daa93194428c4ce868610e50f042117e038"
39
+ "gitHead": "1e8eff98a85a009847f0599d44281fabb3342cc6"
40
40
  }
@@ -89,6 +89,18 @@ pipeline {
89
89
  } else {
90
90
  success "== Found image for version ${VERSION} =="
91
91
  }
92
+
93
+ if (!isDockerImagePresentRemotely("us-central1-docker.pkg.dev/toptal-hub/containers/${IMAGE_NAME}", VERSION)) {
94
+ image = docker.build(
95
+ "us-central1-docker.pkg.dev/toptal-hub/containers/${IMAGE_NAME}:${VERSION}",
96
+ """-f ./davinci/packages/ci/src/configs/docker/Dockerfile \
97
+ --build-arg NPM_TOKEN=${NPM_TOKEN} \
98
+ ./${repositoryName}"""
99
+ )
100
+ success "== Built image for version ${VERSION} =="
101
+ } else {
102
+ success "== Found image for version ${VERSION} =="
103
+ }
92
104
  }
93
105
  }
94
106
  } //build image
@@ -105,6 +117,14 @@ pipeline {
105
117
  }
106
118
  }
107
119
  }
120
+ docker.withRegistry('us-central1-docker.pkg.dev/toptal-hub/containers/') {
121
+ image.push(VERSION)
122
+ if(ALIAS_VERSIONS) {
123
+ ALIAS_VERSIONS.split(',').each { aliasVersion ->
124
+ image.push(aliasVersion)
125
+ }
126
+ }
127
+ }
108
128
  success "== Pushed image with tag ${VERSION} =="
109
129
  }
110
130
  }