Skip to content
Snippets Groups Projects
Commit 0ba7134f authored by Erwan Rouchet's avatar Erwan Rouchet Committed by Bastien Abadie
Browse files

GitLab migration

parent f6fd71f5
No related branches found
No related tags found
1 merge request!1503GitLab migration
......@@ -190,7 +190,7 @@ stop-surge:
release-notes:
stage: deploy
image: registry.gitlab.com/teklia/devops:latest
image: registry.gitlab.teklia.com/infra/devops:latest
only:
- tags
......
ROOT_DIR:=$(shell dirname $(realpath $(lastword $(MAKEFILE_LIST))))
TAG=registry.gitlab.com/teklia/arkindex/frontend
TAG=registry.gitlab.teklia.com/arkindex/frontend
VERSION=$(shell git rev-parse --short HEAD)
.PHONY: all build release
......
......@@ -12,6 +12,11 @@ if [ -z "$VERSION" -o -z "$CI_PROJECT_DIR" -o -z "$CI_REGISTRY_IMAGE" ]; then
exit 1
fi
# Authenticate on docker.io using common credentials to avoid quota issues
mkdir -p ~/.docker || true
echo "$DOCKER_AUTH_CONFIG" > ~/.docker/config.json
docker login index.docker.io
docker build $CI_PROJECT_DIR -f $CI_PROJECT_DIR/Dockerfile -t "$CI_REGISTRY_IMAGE:$VERSION"
# Publish the image on the main branch or on a tag
......
......@@ -93,12 +93,12 @@
],
"_id": "arkindex@1.3.1",
"bugs": {
"url": "https://gitlab.com/teklia/arkindex/frontend/issues"
"url": "https://gitlab.teklia.com/arkindex/frontend/issues"
},
"homepage": "https://gitlab.com/teklia/arkindex/frontend#readme",
"homepage": "https://gitlab.teklia.com/arkindex/frontend#readme",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+ssh://git@gitlab.com/teklia/arkindex/frontend.git"
"url": "git+ssh://git@gitlab.teklia.com/arkindex/frontend.git"
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment