add ci file

merge-requests/1/head
Matthew 2020-12-23 14:19:08 -05:00
parent 8d70a5bdbf
commit c1595c71c7
No known key found for this signature in database
GPG Key ID: 210AF32ADE3B5C4B
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ stages:
build: build:
stage: build stage: build
variables: variables:
IMAGE: $CI_REGISTRY_IMAGE/$CI_COMMIT_REF_SLUG:$CI_COMMIT_SHA IMAGE: docker.libraryofcode.org/$CI_COMMIT_REF_SLUG:$CI_COMMIT_SHA
script: script:
- docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" docker.libraryofcode.org - docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" docker.libraryofcode.org
- docker build -t $IMAGE . - docker build -t $IMAGE .