Skip to content

Instantly share code, notes, and snippets.

View sbezugliy's full-sized avatar
🇺🇦
Working from home

Serhii Bezuhlyi sbezugliy

🇺🇦
Working from home
View GitHub Profile
@bryanbraun
bryanbraun / .gitlab-ci.yml
Created July 6, 2017 15:15
Example Gitlab CI Config for a Rails + Nginx application using Docker Compose
# See how variables work, and a list of predefined ones:
# - https://docs.gitlab.com/ce/ci/variables/
variables:
RAILS_IMAGE: registry.gitlab.com/bryanbraun/gridmaster.io/railsapp:$CI_COMMIT_SHA
NGINX_IMAGE: registry.gitlab.com/bryanbraun/gridmaster.io/nginx:$CI_COMMIT_SHA
DEPLOY_TAG: $CI_COMMIT_SHA
cache:
paths:
- vendor/ruby