diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b8393da62565fc2bdf2f4e5aa536e7c72642d3d2..4f302c5b7464dd50f695130e848a4be3bc237a00 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -35,7 +35,7 @@ build stable docker image: script: - mkdir -p /kaniko/.docker - echo "{\"auths\":{\"https://index.docker.io/v1/\":{\"auth\":\"$DOCKER_AUTH\"}}}" > /kaniko/.docker/config.json - - /kaniko/executor --context $CI_PROJECT_DIR --dockerfile $CI_PROJECT_DIR/Dockerfile --destination neogeo/geocontrib:latest + - /kaniko/executor --context $CI_PROJECT_DIR --dockerfile $CI_PROJECT_DIR/Dockerfile --destination neogeo/geocontrib-front:latest - echo Image docker neogeo/geocontrib:latest livrée build tagged docker image: @@ -52,7 +52,7 @@ build tagged docker image: # Don't build tag id package.json as wrong version - grep "\"version\":.\"$CI_COMMIT_TAG\"" package.json - mkdir -p /kaniko/.docker - - echo "{\"auths\":{\"https://index.docker.io/v1/\":{\"auth\":\"$DOCKER_SECRET\"}}}" > /kaniko/.docker/config.json + - echo "{\"auths\":{\"https://index.docker.io/v1/\":{\"auth\":\"$DOCKER_AUTH\"}}}" > /kaniko/.docker/config.json - /kaniko/executor --context $CI_PROJECT_DIR --dockerfile $CI_PROJECT_DIR/Dockerfile --destination neogeo/geocontrib-front:$CI_COMMIT_TAG - echo Image docker neogeo/geocontrib-front:$CI_COMMIT_TAG livrée