add ci file

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

View File

@ -16,7 +16,7 @@ build:
variables: variables:
IMAGE: docker.libraryofcode.org/$CI_COMMIT_REF_SLUG:$CI_COMMIT_SHA IMAGE: docker.libraryofcode.org/$CI_COMMIT_REF_SLUG:$CI_COMMIT_SHA
script: script:
- docker login -u "system" -p "$REGISTRY_PASSWORD" docker.libraryofcode.org - docker login -u "$REGISTRY_USER" -p "$REGISTRY_PASSWORD" docker.libraryofcode.org
- docker build -t $IMAGE . - docker build -t $IMAGE .
- docker push $IMAGE - docker push $IMAGE