@toptal/davinci-ci 2.0.13-alpha-fx-2153-add-actions-tracking-1e8eff98.21 → 2.0.13-alpha-feature-sb-full-text-search-ca6c3eab.31

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-2153-add-actions-tracking-1e8eff98.21+1e8eff98",
3
+ "version": "2.0.13-alpha-feature-sb-full-text-search-ca6c3eab.31+ca6c3eab",
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-2153-add-actions-tracking-1e8eff98.21+1e8eff98",
35
+ "@toptal/davinci-cli-shared": "1.8.2-alpha-feature-sb-full-text-search-ca6c3eab.31+ca6c3eab",
36
36
  "danger": "^11.0.7",
37
37
  "markdown-table": "^2.0.0"
38
38
  },
39
- "gitHead": "1e8eff98a85a009847f0599d44281fabb3342cc6"
39
+ "gitHead": "ca6c3eab069f0a2c0d7762aff5ed669844bd62a5"
40
40
  }
@@ -93,6 +93,20 @@ pipeline {
93
93
  } else {
94
94
  success "== Found '${releaseImageName}' image for version ${IMAGE_TAG} =="
95
95
  }
96
+
97
+ if (!isDockerImagePresentRemotely("us-central1-docker.pkg.dev/toptal-hub/containers/${releaseImageName}", IMAGE_TAG)) {
98
+ release_docker_image = docker.build(
99
+ "us-central1-docker.pkg.dev/toptal-hub/containers/${releaseImageName}:${IMAGE_TAG}",
100
+ """-f ./davinci/packages/ci/src/configs/docker/Dockerfile.release \
101
+ --build-arg REPO_NAME=${repositoryName} \
102
+ --build-arg VERSION=${IMAGE_TAG} \
103
+ --build-arg ENV_RUNTIME_ENTRYPOINT=./env-runtime.entrypoint.sh \
104
+ ./${repositoryName}"""
105
+ )
106
+ success "== Built '${releaseImageName}' image for version ${IMAGE_TAG} =="
107
+ } else {
108
+ success "== Found '${releaseImageName}' image for version ${IMAGE_TAG} =="
109
+ }
96
110
  }
97
111
  } //steps
98
112
 
@@ -115,6 +129,14 @@ pipeline {
115
129
  }
116
130
  }
117
131
  }
132
+ docker.withRegistry('us-central1-docker.pkg.dev/toptal-hub/containers/') {
133
+ release_docker_image.push(IMAGE_TAG)
134
+ if(ALIAS_IMAGE_TAGS) {
135
+ ALIAS_IMAGE_TAGS.split(',').each { aliasImageTag ->
136
+ release_docker_image.push(aliasImageTag)
137
+ }
138
+ }
139
+ }
118
140
  success "== Pushed '${releaseImageName}' image for version ${IMAGE_TAG} =="
119
141
  }
120
142
  }