Welcome to mirror list, hosted at ThFree Co, Russian Federation.

getters.js « stores « explorer « registry « javascripts « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 7b5d1bd6da30915eab875de99b86a3bdc52b1673 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
export const dockerBuildCommand = state => {
  /* eslint-disable @gitlab/require-i18n-strings */
  return `docker build -t ${state.config.repositoryUrl} .`;
};

export const dockerPushCommand = state => {
  /* eslint-disable @gitlab/require-i18n-strings */
  return `docker push ${state.config.repositoryUrl}`;
};

export const dockerLoginCommand = state => {
  /* eslint-disable @gitlab/require-i18n-strings */
  return `docker login ${state.config.registryHostUrlWithPort}`;
};

export const showGarbageCollection = state => {
  return state.showGarbageCollectionTip && state.config.isAdmin;
};