~hokiegeek/hg-tea

54160dcfbc8b0737b626963c49cd78bca3441f72 — HokieGeek 9 months ago 9f2ec5f
Updated gitlab ci
2 files changed, 6 insertions(+), 3 deletions(-)

M .gitlab-ci.yml
M package.json
M .gitlab-ci.yml => .gitlab-ci.yml +5 -2
@@ 12,6 12,9 @@ include:
variables:
    PUPPETEER_SKIP_CHROMIUM_DOWNLOAD: "true"
    CHROME_BIN: "/usr/bin/chromium-browser"
    CI_REGISTRY: quay.io
    CI_REGISTRY_USER: hokiegeek
    CI_REGISTRY_IMAGE: ${CI_REGISTRY}/${CI_REGISTRY_USER}/hg-tea

cache:
  paths:


@@ 163,7 166,7 @@ dependency_scanning:
  services:
    - docker:dind
  before_script:
    - docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
    - docker login --username ${CI_REGISTRY_USER} --password ${REGISTRY_TOKEN} ${CI_REGISTRY}
  script:
    - head dist/index.html
    - docker build -t $IMAGE_TAG .


@@ 191,7 194,7 @@ create-container:
  except:
    - branches

deploy-and-restart:
.deploy-and-restart:
  stage: deploy
  image: alpine:edge
  variables:

M package.json => package.json +1 -1
@@ 1,6 1,6 @@
{
  "name": "hg-tea",
  "version": "9.16.6",
  "version": "9.16.7",
  "license": "MIT",
  "angular-cli": {},
  "scripts": {