Skip to content
Snippets Groups Projects
Commit c8d2bbb0 authored by Alessandro Cerioni's avatar Alessandro Cerioni
Browse files

Added image name and .gitlab-ci.yaml

parent 8efbc0f1
Branches
Tags
No related merge requests found
Pipeline #3268 failed
variables:
LOGLEVEL: DEBUG
TMP_DIRECTORY: /tmp
MINIO_SRC_ENDPOINT:
MINIO_SRC_ACCESS_KEY:
MINIO_SRC_SECRET_KEY:
MINIO_SRC_SECURE:
MINIO_DST_ENDPOINT:
MINIO_DST_ACCESS_KEY:
MINIO_DST_SECRET_KEY:
MINIO_DST_SECURE:
BUCKET_LIST:
SLEEP_TIME_IN_SECONDS: 5
stages:
- build
build_development:
stage: build
only:
- development
script:
- export TAG=dev
- docker-compose build
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
- docker-compose push
build_release:
stage: build
only:
- tags
script:
- export TAG=$(echo $CI_COMMIT_TAG | sed 's/v//g')
- docker-compose build
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
- docker-compose push
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment