fix: Use manual docker login
This commit is contained in:
parent
9753bd1670
commit
f815fd1922
2 changed files with 2 additions and 8 deletions
|
@ -35,8 +35,6 @@ deploy:
|
||||||
stage: deploy
|
stage: deploy
|
||||||
image: "circleci/node:14.5"
|
image: "circleci/node:14.5"
|
||||||
script:
|
script:
|
||||||
- echo $CI_REGISTRY
|
|
||||||
- export DOCKER_USERNAME=$CI_REGISTRY_USER
|
|
||||||
- export DOCKER_PASSWORD=$CI_REGISTRY_PASSWORD
|
|
||||||
- npm install
|
- npm install
|
||||||
|
- docker login -u $CI_JOB_USER -p $CI_JOB_TOKEN $CI_REGISTRY
|
||||||
- npx semantic-release
|
- npx semantic-release
|
||||||
|
|
|
@ -25,11 +25,7 @@
|
||||||
"release": {
|
"release": {
|
||||||
"plugins": [
|
"plugins": [
|
||||||
"@semantic-release/commit-analyzer",
|
"@semantic-release/commit-analyzer",
|
||||||
"@semantic-release/git",
|
"@semantic-release/git"
|
||||||
{
|
|
||||||
"path": "semantic-release-docker",
|
|
||||||
"registryUrl": "https://registry.gitlab.com"
|
|
||||||
}
|
|
||||||
],
|
],
|
||||||
"publish": [
|
"publish": [
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue