Skip to content

Instantly share code, notes, and snippets.

View satputekuldip's full-sized avatar
😎

Kuldip Satpute satputekuldip

😎
View GitHub Profile
@satputekuldip
satputekuldip / .gitlab-ci.yml
Created December 25, 2021 17:33 — forked from antoninbouchal/.gitlab-ci.yml
Deploy APP through SSH to VPS with Gitlab CI
stages:
- build
- deploy
before_script:
- |
# docker variables for name and tag of new image
export DOCKER_TAG="${CI_COMMIT_SHA:0:8}"
export DOCKER_REPO="$CI_REGISTRY_IMAGE"
export DOCKER_IMAGE="${DOCKER_REPO}:${DOCKER_TAG}"