Update .gitlab-ci.yml file

This commit is contained in:
2021-03-03 01:44:28 +00:00
parent df9bbd1d47
commit 2ae6ccabb9

View File

@@ -18,6 +18,9 @@ build:
before_script:
- docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY
script:
- ls
- docker build --pull -t "$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG" ./Docker/
- docker push "$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG"
- docker login registry.evanrichardsonphotography.com
- docker build -t registry.evanrichardsonphotography.com/erichardson/py-eagle-mqtt ./Docker/
- docker push registry.evanrichardsonphotography.com/erichardson/py-eagle-mqtt
#- ls
#- docker build --pull -t "$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG" ./Docker/
#- docker push "$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG"